Package org.apache.aries.util
Class IORuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- 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
Constructors Constructor Description IORuntimeException(IOException cause)
IORuntimeException(String message, IOException cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IOException
getCause()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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 classThrowable
- See Also:
Throwable.getCause()
-
-