Package org.refcodes.exception
Class BreakOutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.refcodes.exception.AbstractException
-
- org.refcodes.exception.BreakOutException
-
- All Implemented Interfaces:
Serializable
,ErrorCodeAccessor
,Trap
public class BreakOutException extends AbstractException implements Serializable
Thrown to break out (of e.g. streams). See alsoBreakOutException.BreakOutRuntimeException
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BreakOutException.BreakOutRuntimeException
Thrown to break out (of e.g. streams).-
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 BreakOutException()
Instantiates a new break-out exception.BreakOutException(String message)
Instantiates a new break-out exception.BreakOutException(String aMessage, String aErrorCode)
Instantiates a new break-out exception.BreakOutException(String message, Throwable cause)
Instantiates a new break-out exception.BreakOutException(String aMessage, Throwable aCause, String aErrorCode)
Instantiates a new break-out exception.BreakOutException(Throwable cause)
Instantiates a new break-out exception.BreakOutException(Throwable aCause, String aErrorCode)
Instantiates a new break-out exception.
-
Method Summary
-
Methods inherited from class org.refcodes.exception.AbstractException
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
-
BreakOutException
public BreakOutException()
Instantiates a new break-out exception.
-
BreakOutException
public BreakOutException(String aMessage, String aErrorCode)
Instantiates a new break-out exception.- Parameters:
aMessage
- the messageaErrorCode
- the error code
-
BreakOutException
public BreakOutException(String aMessage, Throwable aCause, String aErrorCode)
Instantiates a new break-out exception.- Parameters:
aMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
BreakOutException
public BreakOutException(String message, Throwable cause)
Instantiates a new break-out exception.- Parameters:
message
- the messagecause
- the cause
-
BreakOutException
public BreakOutException(String message)
Instantiates a new break-out exception.- Parameters:
message
- the message
-
BreakOutException
public BreakOutException(Throwable aCause, String aErrorCode)
Instantiates a new break-out exception.- Parameters:
aCause
- the causeaErrorCode
- the error code
-
BreakOutException
public BreakOutException(Throwable cause)
Instantiates a new break-out exception.- Parameters:
cause
- the cause
-
-