Package org.refcodes.exception
Class BreakOutException.BreakOutRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.refcodes.exception.AbstractRuntimeException
-
- org.refcodes.exception.BreakOutException.BreakOutRuntimeException
-
- All Implemented Interfaces:
Serializable
,ErrorCodeAccessor
,Trap
- Enclosing class:
- BreakOutException
public static class BreakOutException.BreakOutRuntimeException extends AbstractRuntimeException implements Serializable
Thrown to break out (of e.g. streams).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
ErrorCodeAccessor.ErrorCodeBuilder<B extends ErrorCodeAccessor.ErrorCodeBuilder<B>>, ErrorCodeAccessor.ErrorCodeMutator, ErrorCodeAccessor.ErrorCodeProperty
-
-
Constructor Summary
Constructors Constructor Description BreakOutRuntimeException()
Instantiates a new break-out exception.BreakOutRuntimeException(String message)
Instantiates a new break-out runtime exception.BreakOutRuntimeException(String aMessage, String aErrorCode)
Instantiates a new break-out runtime exception.BreakOutRuntimeException(String message, Throwable cause)
Instantiates a new break-out runtime exception.BreakOutRuntimeException(String aMessage, Throwable aCause, String aErrorCode)
Instantiates a new break-out runtime exception.BreakOutRuntimeException(Throwable cause)
Instantiates a new break-out runtime exception.BreakOutRuntimeException(Throwable aCause, String aErrorCode)
Instantiates a new break-out runtime exception.
-
Method Summary
-
Methods inherited from class org.refcodes.exception.AbstractRuntimeException
getErrorCode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BreakOutRuntimeException
public BreakOutRuntimeException()
Instantiates a new break-out exception.
-
BreakOutRuntimeException
public BreakOutRuntimeException(String aMessage, String aErrorCode)
Instantiates a new break-out runtime exception.- Parameters:
aMessage
- the messageaErrorCode
- the error code
-
BreakOutRuntimeException
public BreakOutRuntimeException(String aMessage, Throwable aCause, String aErrorCode)
Instantiates a new break-out runtime exception.- Parameters:
aMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
BreakOutRuntimeException
public BreakOutRuntimeException(String message, Throwable cause)
Instantiates a new break-out runtime exception.- Parameters:
message
- the messagecause
- the cause
-
BreakOutRuntimeException
public BreakOutRuntimeException(String message)
Instantiates a new break-out runtime exception.- Parameters:
message
- the message
-
BreakOutRuntimeException
public BreakOutRuntimeException(Throwable aCause, String aErrorCode)
Instantiates a new break-out runtime exception.- Parameters:
aCause
- the causeaErrorCode
- the error code
-
BreakOutRuntimeException
public BreakOutRuntimeException(Throwable cause)
Instantiates a new break-out runtime exception.- Parameters:
cause
- the cause
-
-