IllegalPatternArgumentException extends RuntimeException implements IllegalArgumentHolder<CharSequence> { @Override public CharSequence getIllegalArgument() { return illegalArgumentValue; } IllegalPatternArgumentException(@Nullable final Pattern pattern, @Nullable final CharSequence illegalArgumentValue);  IllegalPatternArgumentException(@Nullable final Pattern pattern, @Nullable final CharSequence illegalArgumentValue,
			@Nullable final Throwable cause);  IllegalPatternArgumentException(@Nullable final String argumentName, @Nullable final Pattern pattern,
			@Nullable final CharSequence illegalArgumentValue);  IllegalPatternArgumentException(@Nullable final String argumentName, @Nullable final Pattern pattern,
			@Nullable final CharSequence illegalArgumentValue, @Nullable final Throwable cause); @Override CharSequence getIllegalArgument();  }
@Test public void testGetIllegalArgument() { final IllegalArgumentHolder<CharSequence> iah = new IllegalPatternArgumentException(TEST_PATTERN, "value"); Assert.assertEquals("value", iah.getIllegalArgument()); }