Package io.ebean.text

Class TextException

    • Constructor Detail

      • 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 Detail

      • getText

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