public class CannotParseException extends RuntimeException
Constructor and Description |
---|
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 |
---|---|
Warning |
getWarning() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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 Warning getWarning()
Copyright © 2013-2015 Michael Angstadt. All Rights Reserved.