Class MException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.io7m.montarre.api.MException
- All Implemented Interfaces:
com.io7m.seltzer.api.SStructuredErrorExceptionType<String>,com.io7m.seltzer.api.SStructuredErrorType<String>,Serializable
public class MException
extends Exception
implements com.io7m.seltzer.api.SStructuredErrorExceptionType<String>
The type of exceptions raised by the package.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct an exception.MException(String message, String inErrorCode, Map<String, String> inAttributes, Optional<String> inRemediatingAction) Construct an exception.MException(String message, String inErrorCode, Optional<String> inRemediatingAction) Construct an exception.MException(String message, Throwable cause, String inErrorCode) Construct an exception.Construct an exception.MException(String message, Throwable cause, String inErrorCode, Map<String, String> inAttributes, Optional<String> inRemediatingAction) Construct an exception.MException(String message, Throwable cause, String inErrorCode, Optional<String> inRemediatingAction) Construct an exception.MException(Throwable cause, String inErrorCode, Map<String, String> inAttributes, Optional<String> inRemediatingAction) Construct an exception.MException(Throwable cause, String inErrorCode, Optional<String> inRemediatingAction) Construct an exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.io7m.seltzer.api.SStructuredErrorExceptionType
getMessage, message
-
Constructor Details
-
MException
-
MException
-
MException
public MException(String message, Throwable cause, String inErrorCode, Map<String, String> inAttributes, Optional<String> inRemediatingAction) Construct an exception.- Parameters:
message- The messagecause- The causeinErrorCode- The error codeinAttributes- The attributesinRemediatingAction- The remediating action
-
MException
-
MException
-
MException
-
MException
-
MException
-
MException
-
-
Method Details
-
errorCode
-
attributes
-
remediatingAction
-
exception
-