Class ParserException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cz.metacentrum.perun.core.api.exceptions.rt.PerunRuntimeException
cz.metacentrum.perun.core.api.exceptions.InternalErrorException
cz.metacentrum.perun.core.api.exceptions.ParserException
- All Implemented Interfaces:
Serializable
This exception raises when some parsing problem occur (regex, matcher, pattern, etc.)
- Author:
- Michal Stava invalid input: '<'stavamichal@gmail.com>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionParserException(String message) Simple constructor with a messageParserException(String message, String parsedValue) Constructor with a message and parsed valueParserException(String message, Throwable cause) Constructor with a message and Throwable objectParserException(String message, Throwable cause, String parsedValue) Constructor with a message, parsed value and the causeParserException(Throwable cause) Constructor with a Throwable objectParserException(Throwable cause, String parsedValue) Constructor with a Throwable object and parsed value -
Method Summary
Methods inherited from class cz.metacentrum.perun.core.api.exceptions.rt.PerunRuntimeException
getErrorId, getMessage, getTypeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParserException
Simple constructor with a message- Parameters:
message- message with details about the cause
-
ParserException
Constructor with a message and parsed value- Parameters:
message- message with details about the causeparsedValue- the value that is to be parsed
-
ParserException
Constructor with a message and Throwable object- Parameters:
message- message with details about the causecause- Throwable that caused throwing of this exception
-
ParserException
Constructor with a message, parsed value and the cause- Parameters:
message- message with details about the causecause- Throwable that caused throwing of this exceptionparsedValue- the value that is to be parsed
-
ParserException
Constructor with a Throwable object- Parameters:
cause- Throwable that caused throwing of this exception
-
ParserException
Constructor with a Throwable object and parsed value- Parameters:
cause- Throwable that caused throwing of this exceptionparsedValue- the value that is to be parsed
-
-
Method Details
-
getParsedValue
Getter for the parsed value- Returns:
- the value that is to be parsed
-