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
This class represents errors reported by the EJBQL compiler.
- Author:
- Michael Bouschen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newEJBQLExceptionwithout detail message.EJBQLException(String msg) Constructs a newEJBQLExceptionwith the specified detail message.EJBQLException(String msg, Throwable cause) Constructs a newEJBQLExceptionwith the specified detail message and cause. -
Method Summary
Modifier and TypeMethodDescriptiongetCause()Returns the cause of thisEJBQLExceptionornullif the cause is nonexistent or unknown.toString()TheStringrepresentation includes the name of the class, the descriptive comment (if any), and theStringrepresentation of the causeThrowable(if any).Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
EJBQLException
public EJBQLException()Creates a newEJBQLExceptionwithout detail message. -
EJBQLException
Constructs a newEJBQLExceptionwith the specified detail message.- Parameters:
msg- the detail message.
-
EJBQLException
Constructs a newEJBQLExceptionwith the specified detail message and cause.- Parameters:
msg- the detail message.cause- the causeThrowable.
-
-
Method Details
-
getCause
Returns the cause of thisEJBQLExceptionornullif the cause is nonexistent or unknown. -
toString
TheStringrepresentation includes the name of the class, the descriptive comment (if any), and theStringrepresentation of the causeThrowable(if any).
-