Class DocumentParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
eu.cloudnetservice.driver.document.DocumentParseException
- All Implemented Interfaces:
Serializable
An exception that gets thrown when an issue occurs while parsing a document from the given input data.
- Since:
- 4.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDocumentParseException(@NonNull String message, @NonNull Throwable cause) Constructs a new document parse exception with the given description message and cause.Constructs a new document parse exception with the given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
DocumentParseException
Constructs a new document parse exception with the given cause.- Parameters:
cause- the cause of the exception.- Throws:
NullPointerException- if the given cause is null.
-
DocumentParseException
Constructs a new document parse exception with the given description message and cause.- Parameters:
message- the error message describing what happened.cause- the cause of the exception.- Throws:
NullPointerException- if the given message or cause is null.
-