org.apache.derby.iapi.error
Class PassThroughException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.derby.iapi.error.PassThroughException
All Implemented Interfaces:
java.io.Serializable

public final class PassThroughException
extends java.lang.RuntimeException

Unchecked exception class that can be used to pass checked exceptions out of methods that are not declared to throw any checked exception.

See Also:
Serialized Form

Constructor Summary
PassThroughException(java.lang.Throwable cause)
          Wrap a Throwable in this unchecked exception to allow it to pass through methods that are not declared to raise this kind of condition.
 
Method Summary
 
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

PassThroughException

public PassThroughException(java.lang.Throwable cause)
Wrap a Throwable in this unchecked exception to allow it to pass through methods that are not declared to raise this kind of condition.

Parameters:
cause - the Throwable to pass through

Built on Thu 2011-03-10 11:54:14+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.