net.sf.jomic.tools
Class TunneledIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.jomic.tools.TunneledIOException
All Implemented Interfaces:
java.io.Serializable

public class TunneledIOException
extends java.lang.RuntimeException

RuntimeException to tunnel those pesky checked IOExceptions to unchecked exception. This is very useful if you have a stable error handling in place that cleans up after the error and just passes it on to the callers, where eventually it will be brought to the attention of the user. In such an environment, checked exceptions are just braindead.

Author:
Thomas Aglassinger
See Also:
Serialized Form

Constructor Summary
TunneledIOException(java.io.IOException error)
           
TunneledIOException(java.lang.String message, java.io.IOException error)
           
 
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

TunneledIOException

public TunneledIOException(java.io.IOException error)

TunneledIOException

public TunneledIOException(java.lang.String message,
                           java.io.IOException error)