public class CannotParseException extends RuntimeException
| Constructor and Description |
|---|
CannotParseException() |
CannotParseException(int code,
Object... args)
Creates a new "cannot parse" exception.
|
CannotParseException(String reason)
Creates a new "cannot parse" exception.
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getArgs()
Gets the warning message arguments.
|
Integer |
getCode()
Gets the warning message code.
|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CannotParseException()
public CannotParseException(int code, Object... args)
code - the warning message codeargs - the warning message argumentspublic CannotParseException(String reason)
reason - the reason why the property value cannot be parsedpublic Object[] getArgs()
public String getMessage()
getMessage in class ThrowableCopyright © 2012–2023 Michael Angstadt. All rights reserved.