com.ibm.websphere.ejbquery

Class QueryException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • com.ibm.websphere.ejbquery.QueryException
  • All Implemented Interfaces:
    java.io.Serializable


    public class QueryException
    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
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getClassname()
      Class throwing the QueryException.
      java.lang.Exception getException()
      Nested exception if any, that caused this QueryException.
      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

        public QueryException()
      • QueryException

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

        public QueryException(java.lang.String s,
                      java.lang.Exception embexp,
                      java.lang.Object[] obj)
    • Method Detail

      • getException

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

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

        public java.lang.String getMethodname()
        Method throwing the QueryException.
IBM WebSphere Application ServerTM
Release 8.5