Package io.ebean.text
Class TextException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- io.ebean.text.TextException
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class TextException extends RuntimeException An exception occurred typically in processing CSV, JSON or XML.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description TextException(Exception e)Construct 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 SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetText()Return the text, that caused the error.- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
TextExceptionpublic TextException(String msg) Construct with an error message.
 - 
TextExceptionpublic TextException(String msg, Exception e) Construct with a message and cause.
 - 
TextExceptionpublic TextException(Exception e) Construct with a cause.
 - 
TextExceptionpublic TextException(String message, String text, Exception cause) Constructor for a detailed exception.- Parameters:
- message- the message. The placeholder {} will be replaced by- text
- text- the fault text.
- cause- the case
 
 - 
TextExceptionpublic TextException(String message, String text) Constructor for a detailed exception.- Parameters:
- message- the message. The placeholder {} will be replaced by- text
- text- the fault text.
 
 
- 
 
-