Serializable
, ErrorCodeAccessor
, Trap
public class IORuntimeException extends AbstractRuntimeException
IOException
.ErrorCodeAccessor.ErrorCodeBuilder<B extends ErrorCodeAccessor.ErrorCodeBuilder<B>>, ErrorCodeAccessor.ErrorCodeMutator, ErrorCodeAccessor.ErrorCodeProperty
Constructor | Description |
---|---|
IORuntimeException(String message) |
Instantiates a new open exception.
|
IORuntimeException(String aMessage,
String aErrorCode) |
Instantiates a new open exception.
|
IORuntimeException(String message,
Throwable cause) |
Instantiates a new open exception.
|
IORuntimeException(String aMessage,
Throwable aCause,
String aErrorCode) |
Instantiates a new open exception.
|
IORuntimeException(Throwable cause) |
Instantiates a new open exception.
|
IORuntimeException(Throwable aCause,
String aErrorCode) |
Instantiates a new open exception.
|
Modifier and Type | Method | Description |
---|---|---|
String |
getErrorCode() |
Provides the according exception code.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IORuntimeException(String aMessage, String aErrorCode)
aMessage
- the messageaErrorCode
- the error codepublic IORuntimeException(String aMessage, Throwable aCause, String aErrorCode)
aMessage
- the messageaCause
- the causeaErrorCode
- the error codepublic IORuntimeException(String message, Throwable cause)
message
- the messagecause
- the causepublic IORuntimeException(String message)
message
- the messagepublic IORuntimeException(Throwable aCause, String aErrorCode)
aCause
- the causeaErrorCode
- the error codepublic IORuntimeException(Throwable cause)
cause
- the causepublic String getErrorCode()
getErrorCode
in interface ErrorCodeAccessor
getErrorCode
in class AbstractRuntimeException
Copyright © 2021. All rights reserved.