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 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrowablegetCause()Returns the cause of thisEJBQLExceptionornullif the cause is nonexistent or unknown.StringtoString()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 Detail
-
EJBQLException
public EJBQLException()
Creates a newEJBQLExceptionwithout detail message.
-
EJBQLException
public EJBQLException(String msg)
Constructs a newEJBQLExceptionwith the specified detail message.- Parameters:
msg- the detail message.
-
-
Method Detail
-
getCause
public Throwable getCause()
Returns the cause of thisEJBQLExceptionornullif the cause is nonexistent or unknown.
-
-