java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.ebean.text.TextException
- All Implemented Interfaces:
Serializable
An exception occurred typically in processing CSV, JSON or XML.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstruct with a cause.TextException
(String msg) Construct with an error message.TextException
(String msg, Exception e) Construct with a message and cause.TextException
(String message, String text) Constructor for a detailed exception.TextException
(String message, String text, Exception cause) Constructor for a detailed exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TextException
Construct with an error message. -
TextException
Construct with a message and cause. -
TextException
Construct with a cause. -
TextException
Constructor for a detailed exception.- Parameters:
message
- the message. The placeholder {} will be replaced bytext
text
- the fault text.cause
- the case
-
TextException
Constructor for a detailed exception.- Parameters:
message
- the message. The placeholder {} will be replaced bytext
text
- the fault text.
-
-
Method Details
-
getText
Return the text, that caused the error. (e.g. the JSON). May be null.
-