Class PairedException

  • All Implemented Interfaces:
    Serializable

    public final class PairedException
    extends Throwable
    This exception is to be used whenever an exception is caught inside of a catch block.

    It will display details of both exceptions on printStackTrace and other methods.

    The first exception will be treated like any other “cause” passed to an exception, so it will be returned by Throwable.getCause(), while the second exception will be stored separately as t2.

    See Also:
    Serialized Form