Class EJBQLException

    • Constructor Detail

      • EJBQLException

        public EJBQLException()
        Creates a new EJBQLException without detail message.
      • EJBQLException

        public EJBQLException​(String msg)
        Constructs a new EJBQLException with the specified detail message.
        Parameters:
        msg - the detail message.
      • EJBQLException

        public EJBQLException​(String msg,
                              Throwable cause)
        Constructs a new EJBQLException with the specified detail message and cause.
        Parameters:
        msg - the detail message.
        cause - the cause Throwable.
    • Method Detail

      • getCause

        public Throwable getCause()
        Returns the cause of this EJBQLException or null if the cause is nonexistent or unknown.
        Overrides:
        getCause in class Throwable
        Returns:
        the cause of this or null if the cause is nonexistent or unknown.
      • toString

        public String toString()
        The String representation includes the name of the class, the descriptive comment (if any), and the String representation of the cause Throwable (if any).
        Overrides:
        toString in class Throwable
        Returns:
        the String.