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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EJBQLException()
Creates a newEJBQLException
without detail message.EJBQLException(String msg)
Constructs a newEJBQLException
with the specified detail message.EJBQLException(String msg, Throwable cause)
Constructs a newEJBQLException
with the specified detail message and cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
getCause()
Returns the cause of thisEJBQLException
ornull
if the cause is nonexistent or unknown.String
toString()
TheString
representation includes the name of the class, the descriptive comment (if any), and theString
representation of the causeThrowable
(if any).-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
EJBQLException
public EJBQLException()
Creates a newEJBQLException
without detail message.
-
EJBQLException
public EJBQLException(String msg)
Constructs a newEJBQLException
with the specified detail message.- Parameters:
msg
- the detail message.
-
-
Method Detail
-
getCause
public Throwable getCause()
Returns the cause of thisEJBQLException
ornull
if the cause is nonexistent or unknown.
-
-