org.apache.aries.util
Class IORuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.aries.util.IORuntimeException
All Implemented Interfaces:
Serializable

public class IORuntimeException
extends RuntimeException

This unchecked exception wraps an IOException.

See Also:
Serialized Form

Constructor Summary
IORuntimeException(IOException cause)
           
IORuntimeException(String message, IOException cause)
           
 
Method Summary
 IOException getCause()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

IORuntimeException

public IORuntimeException(String message,
                          IOException cause)
Parameters:
message - A detail message.
cause - The original IOException.

IORuntimeException

public IORuntimeException(IOException cause)
Parameters:
cause - The original IOException.
Method Detail

getCause

public IOException getCause()
Overrides:
getCause in class Throwable
See Also:
Throwable.getCause()


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.