net.sf.jomic.tools
Class TunneledIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
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 |
TunneledIOException
public TunneledIOException(java.io.IOException error)
TunneledIOException
public TunneledIOException(java.lang.String message,
java.io.IOException error)