Package de.mhus.lib.errors
Class MRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- de.mhus.lib.errors.MRuntimeException
-
- All Implemented Interfaces:
IResult,Serializable
- Direct Known Subclasses:
AccessDeniedException,AuthenticationException,ErrorRuntimeException,MaxDepthReached,NotFoundRuntimeException,NotSupportedException,TimeoutRuntimeException,TooDeepStructuresException,UsageException,ValidationException,WrongStateException
public class MRuntimeException extends RuntimeException implements IResult
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MRuntimeException(int rc)MRuntimeException(int rc, String msg, Object... in)MRuntimeException(int rc, Throwable cause)MRuntimeException(IResult cause)MRuntimeException(IResult cause, String msg, Object... parameters)MRuntimeException(RC.CAUSE causeHandling, int rc, String msg, Object... parameters)MRuntimeException(RC.CAUSE causeHandling, RC.STATUS rc, Object... in)MRuntimeException(RC.STATUS rc, Object... in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetReturnCode()StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.mhus.lib.basics.IResult
getMessage
-
-
-
-
Constructor Detail
-
MRuntimeException
public MRuntimeException(int rc, Throwable cause)
-
MRuntimeException
public MRuntimeException(IResult cause)
-
MRuntimeException
public MRuntimeException(RC.CAUSE causeHandling, int rc, String msg, Object... parameters)
-
MRuntimeException
public MRuntimeException(int rc)
-
-
Method Detail
-
getReturnCode
public int getReturnCode()
- Specified by:
getReturnCodein interfaceIResult
-
-