Package de.mhus.lib.errors
Class MException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.mhus.lib.errors.MException
-
- All Implemented Interfaces:
IResult,Serializable
- Direct Known Subclasses:
ConflictException,DummyException,ErrorException,ForbiddenException,InternalException,NotFoundException,SyntaxError,TimeoutException
public class MException extends Exception implements IResult
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MException(int rc)MException(int rc, String msg, Object... in)MException(int rc, Throwable cause)MException(IResult cause)MException(IResult cause, String msg, Object... parameters)MException(RC.CAUSE causeHandling, int rc, String msg, Object... parameters)MException(RC.CAUSE causeHandling, RC.STATUS rc, Object... in)MException(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
-
-
-
-
Method Detail
-
getReturnCode
public int getReturnCode()
- Specified by:
getReturnCodein interfaceIResult
-
-