Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.foundation.exception.SysException
com.aquima.interactions.foundation.text.ParseException
- All Implemented Interfaces:
Serializable
Exception representing an exception during parsing of numbers or date values. This class is only responsible for
holding the reason and possible cause of the exception.
- Since:
- 6.0
- Author:
- F. van der Meer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionParseException
(String message, int position) Constructs a parse exception with a message, the message text will go unmodified into the system exception message. -
Method Summary
Modifier and TypeMethodDescriptionint
This method returns the position of the error.Methods inherited from class com.aquima.interactions.foundation.exception.SysException
raise, raise
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParseException
Constructs a parse exception with a message, the message text will go unmodified into the system exception message.- Parameters:
message
- The message of the exceptionposition
- The position of the error.
-
-
Method Details
-
getPosition
public int getPosition()This method returns the position of the error.- Returns:
- The position where the error occurred.
-