Module io.ebean.api
Package io.ebean.text

Class TextException

All Implemented Interfaces:
Serializable

public class TextException extends RuntimeException
An exception occurred typically in processing CSV, JSON or XML.
See Also:
  • Constructor Details

    • TextException

      public TextException(String msg)
      Construct with an error message.
    • TextException

      public TextException(String msg, Exception e)
      Construct with a message and cause.
    • TextException

      public TextException(Exception e)
      Construct with a cause.
    • TextException

      public 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
    • TextException

      public 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.
  • Method Details

    • getText

      public String getText()
      Return the text, that caused the error. (e.g. the JSON). May be null.