/**
  * Prints the stack trace of this exception to the specified writer. Includes information from the
  * exception, if any, which caused this exception.
  *
  * @param out the writer to write to
  * @since 2.1
  */
 public void printStackTrace(PrintWriter out) {
   delegate.printStackTrace(out);
 }
 /**
  * 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();
 }
 /**
  * Prints the stack trace of this exception to the specified stream. Includes information from the
  * exception, if any, which caused this exception.
  *
  * @param out the stream to write to
  * @since 2.1
  */
 public void printStackTrace(PrintStream out) {
   delegate.printStackTrace(out);
 }
 /**
  * Returns the index of the first occurrence of the specified type. If there is no match, <code>-1
  * </code> is returned.
  *
  * @param type the type to search for
  * @return index of the first occurrence of the type in the chain, or -1 if the type is not found
  * @since 2.1
  */
 public int indexOfThrowable(Class type) {
   return delegate.indexOfThrowable(type, 0);
 }
 /**
  * Returns the index of the first occurrence of the specified type starting from the specified
  * index. If there is no match, <code>-1</code> is returned.
  *
  * @param type the type to search for
  * @param fromIndex the index of the starting position in the chain to be searched
  * @return index of the first occurrence of the type in the chain, or -1 if the type is not found
  * @throws IndexOutOfBoundsException if the <code>fromIndex</code> argument is negative or not
  *     less than the count of <code>Throwable</code>s in the chain
  * @since 2.1
  */
 public int indexOfThrowable(Class type, int fromIndex) {
   return delegate.indexOfThrowable(type, fromIndex);
 }
 /**
  * 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();
 }
 /**
  * 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();
 }
 /**
  * Returns the <code>Throwable</code> in the chain by index.
  *
  * @param index the index to retrieve
  * @return the <code>Throwable</code>
  * @throws IndexOutOfBoundsException if the <code>index</code> argument is negative or not less
  *     than the count of <code>Throwable</code>s in the chain
  * @since 2.1
  */
 public Throwable getThrowable(int index) {
   return delegate.getThrowable(index);
 }
 /**
  * Returns the error message of this and any nested <code>Throwable</code> objects. Each throwable
  * returns a message, a null string is included in the array if there is no message for a
  * particular <code>Throwable</code>.
  *
  * @return the error messages
  * @since 2.1
  */
 public String[] getMessages() {
   return delegate.getMessages();
 }
 /**
  * Returns the error message of the <code>Throwable</code> in the chain of <code>Throwable</code>s
  * at the specified index, numbered from 0.
  *
  * @param index the index of the <code>Throwable</code> in the chain
  * @return the error message, or null if the <code>Throwable</code> at the specified index in the
  *     chain does not contain a message
  * @throws IndexOutOfBoundsException if the <code>index</code> argument is negative or not less
  *     than the count of <code>Throwable</code>s in the chain
  * @since 2.1
  */
 public String getMessage(int index) {
   if (index == 0) {
     return super.getMessage();
   }
   return delegate.getMessage(index);
 }