Class EJBQLException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sun.jdo.spi.persistence.support.ejb.ejbqlc.EJBQLException
All Implemented Interfaces:
Serializable

public class EJBQLException extends RuntimeException
This class represents errors reported by the EJBQL compiler.
Author:
Michael Bouschen
See Also:
  • Constructor Details

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

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