Package dev.amp.validator.selector
Class SelectorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- dev.amp.validator.selector.SelectorException
-
- All Implemented Interfaces:
Serializable
public class SelectorException extends Exception
Selector validation exception.- Author:
- nhant01, GeorgeLuo
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SelectorException(ErrorToken errorToken)Constructor.SelectorException(String message)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorTokengetErrorToken()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SelectorException
public SelectorException(String message)
Constructor.- Parameters:
message- the message.
-
SelectorException
public SelectorException(ErrorToken errorToken)
Constructor.- Parameters:
errorToken- the token.
-
-
Method Detail
-
getErrorToken
public ErrorToken getErrorToken()
-
-