/** * INTERNAL * Add an internal Exception to the collection of * internal Exceptions */ public Object addInternalException(Object theException) { getInternalExceptions().add(theException); return theException; }
/** * INTERNAL * Add an internal Exception to the collection of * internal Exceptions */ public Object addInternalException(Object theException) { getInternalExceptions().add(theException); return theException; }
/** * INTERNAL * Does this exception have any internal errors? */ public boolean hasInternalExceptions() { return !getInternalExceptions().isEmpty(); }
/** * INTERNAL * Add an internal Exception to the collection of * internal Exceptions */ public Object addInternalException(Object theException) { getInternalExceptions().add(theException); return theException; }
/** * INTERNAL * Does this exception have any internal errors? */ public boolean hasInternalExceptions() { return !getInternalExceptions().isEmpty(); }
/** * INTERNAL * Does this exception have any internal errors? */ public boolean hasInternalExceptions() { return !getInternalExceptions().isEmpty(); }
/** * PUBLIC * Print the stack trace for each error generated by the * parser. This method is intended to assist in debugging * problems in EJBQL */ public void printFullStackTrace() { if (hasInternalExceptions()) { Iterator exceptions = getInternalExceptions().iterator(); while (exceptions.hasNext()) { Throwable error = (Throwable)exceptions.next(); error.printStackTrace(); } } } }
/** * PUBLIC * Print the stack trace for each error generated by the * parser. This method is intended to assist in debugging * problems in EJBQL */ public void printFullStackTrace() { if (hasInternalExceptions()) { Iterator exceptions = getInternalExceptions().iterator(); while (exceptions.hasNext()) { Throwable error = (Throwable)exceptions.next(); error.printStackTrace(); } } } }
/** * PUBLIC * Print the stack trace for each error generated by the * parser. This method is intended to assist in debugging * problems in EJBQL */ public void printFullStackTrace() { if (hasInternalExceptions()) { Iterator exceptions = getInternalExceptions().iterator(); while (exceptions.hasNext()) { Throwable error = (Throwable)exceptions.next(); error.printStackTrace(); } } } }