com.ibm.websphere.ejbquery

Class QueryException

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended bycom.ibm.websphere.ejbquery.QueryException
All implemented interfaces:
java.io.Serializable

  1. public class QueryException
  2. extends java.lang.Exception
QueryException reports errors from WebSphere dynamic ejb query service. These errors may result from validating an ejb query statement or a a runtime evaluation error resulting from a database exception or server exception. In the case where the query involves calling application code, if the application method throws an exception it will be reported as a QueryException. To determine the underlying cause of a QueryException see getException.
See Also:
Serialized Form

Constructor Summary

Constructor and Description
QueryException()
QueryException(java.lang.String s)
QueryException(java.lang.String s,java.lang.Exception embexp,java.lang.Object[] obj)

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getClassname()
Class throwing the QueryException.
  1. java.lang.Exception
getException()
Nested exception if any, that caused this QueryException.
  1. java.lang.String
getMethodname()
Method throwing the QueryException.
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

QueryException

  1. public QueryException()

QueryException

  1. public QueryException(java.lang.String s)

QueryException

  1. public QueryException(java.lang.String s,
  2. java.lang.Exception embexp,
  3. java.lang.Object[] obj)

Method Detail

getException

  1. public java.lang.Exception getException( )
Nested exception if any, that caused this QueryException.

getClassname

  1. public java.lang.String getClassname( )
Class throwing the QueryException.

getMethodname

  1. public java.lang.String getMethodname( )
Method throwing the QueryException.