com.sun.jdo.spi.persistence.support.ejb.ejbqlc
Class EJBQLException

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

public class EJBQLException
extends java.lang.RuntimeException

This class represents errors reported by the EJBQL compiler.

Author:
Michael Bouschen
See Also:
Serialized Form

Constructor Summary
EJBQLException()
          Creates a new EJBQLException without detail message.
EJBQLException(java.lang.String msg)
          Constructs a new EJBQLException with the specified detail message.
EJBQLException(java.lang.String msg, java.lang.Throwable cause)
          Constructs a new EJBQLException with the specified detail message and cause.
 
Method Summary
 java.lang.Throwable getCause()
          Returns the cause of this EJBQLException or null if the cause is nonexistent or unknown.
 java.lang.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).
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EJBQLException

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


EJBQLException

public EJBQLException(java.lang.String msg)
Constructs a new EJBQLException with the specified detail message.

Parameters:
msg - the detail message.

EJBQLException

public EJBQLException(java.lang.String msg,
                      java.lang.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 java.lang.Throwable getCause()
Returns the cause of this EJBQLException or null if the cause is nonexistent or unknown.

Overrides:
getCause in class java.lang.Throwable
Returns:
the cause of this or null if the cause is nonexistent or unknown.

toString

public java.lang.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 java.lang.Throwable
Returns:
the String.


Copyright © 2012 GlassFish Community. All Rights Reserved.