/** * {@inheritDoc} */ public String getMessage(int index) { if (index == 0) { return super.getMessage(); } return delegate.getMessage(index); }
/** * {@inheritDoc} */ public String[] getMessages() { return delegate.getMessages(); }
/** * {@inheritDoc} */ public Throwable getThrowable(int index) { return delegate.getThrowable(index); }
String[] st = getStackFrames(throwable); stacks.add(st); throwable = ExceptionUtils.getCause(throwable); trimStackFrames(stacks);
/** * {@inheritDoc} */ public void printStackTrace(PrintStream out) { delegate.printStackTrace(out); }
/** * {@inheritDoc} */ public int getThrowableCount() { return delegate.getThrowableCount(); }
/** * {@inheritDoc} */ public Throwable[] getThrowables() { return delegate.getThrowables(); }
/** * {@inheritDoc} */ public int indexOfThrowable(Class type) { return delegate.indexOfThrowable(type, 0); }
String[] st = getStackFrames(throwable); stacks.add(st); throwable = ExceptionUtils.getCause(throwable); trimStackFrames(stacks);
/** * {@inheritDoc} */ public void printStackTrace(PrintWriter out) { delegate.printStackTrace(out); }
/** * Returns the number of nested <code>Throwable</code>s represented by * this <code>Nestable</code>, including this <code>Nestable</code>. * * @return the throwable count * @since 2.1 */ public int getThrowableCount() { return delegate.getThrowableCount(); }
/** * {@inheritDoc} */ public Throwable[] getThrowables() { return delegate.getThrowables(); }
/** * {@inheritDoc} */ public int indexOfThrowable(Class type, int fromIndex) { return delegate.indexOfThrowable(type, fromIndex); }
String[] st = getStackFrames(throwable); stacks.add(st); throwable = ExceptionUtils.getCause(throwable); trimStackFrames(stacks);
/** * {@inheritDoc} */ public String getMessage(int index) { if (index == 0) { return super.getMessage(); } return delegate.getMessage(index); }
/** * {@inheritDoc} */ public Throwable getThrowable(int index) { return delegate.getThrowable(index); }
/** * {@inheritDoc} */ public String[] getMessages() { return delegate.getMessages(); }
/** * Prints the stack trace of this exception. * Includes information from the exception, if any, which caused this exception. * * @since 2.1 */ public void printStackTrace() { delegate.printStackTrace(); }
/** * {@inheritDoc} */ public int getThrowableCount() { return delegate.getThrowableCount(); }
/** * Returns this <code>Nestable</code> and any nested <code>Throwable</code>s * in an array of <code>Throwable</code>s, one element for each * <code>Throwable</code>. * * @return the <code>Throwable</code>s * @since 2.1 */ public Throwable[] getThrowables() { return delegate.getThrowables(); }