Package dev.amp.validator.parser
Class ParserException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- dev.amp.validator.parser.ParserException
-
- All Implemented Interfaces:
Serializable
public class ParserException extends Exception
/** Exception class for parsing.- Author:
- nhant01, GeorgeLuo
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParserException()Constructs a new exception withnullas its detail message.ParserException(String message)Constructs a new exception with the specified detail message.ParserException(String message, Throwable cause)Constructs a new exception with the specified detail message and cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ParserException
public ParserException()
Constructs a new exception withnullas its detail message.
-
ParserException
public ParserException(String message)
Constructs a new exception with the specified detail message. The cause is not initialized.- Parameters:
message- the detail message.
-
-