java.lang.Object
java.lang.Throwable
java.lang.Exception
com.pervasive.datarush.operators.io.textfile.ParseException
- All Implemented Interfaces:
Serializable
Exception indicating a parsing error. An explanation
of the error is provided. If the source file being
parsed is known, it is also provided.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a parse error with no information provided.ParseException(String message) Create a parse error with the specified message.ParseException(String message, String filePath) Create a parse error with the specified message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParseException
public ParseException()Create a parse error with no information provided. -
ParseException
Create a parse error with the specified message.- Parameters:
message- an explanation of the error
-
ParseException
Create a parse error with the specified message.- Parameters:
message- an explanation of the errorfilePath- the file which was being parsed
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-