Package de.xima.fc.audit
Class FcAuditException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.xima.fc.audit.FcAuditException
-
- All Implemented Interfaces:
Serializable
public class FcAuditException extends Exception
Exception raised within the audit domain. Carries anAuditErrorTypedescribing the concrete failure.- Since:
- 8.5.6
- Author:
- Norman Lorenz
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FcAuditException(AuditErrorType errorType, String message)Creates a new exception with the given error type and message.FcAuditException(AuditErrorType errorType, String message, Throwable cause)Creates a new exception with the given error type, message and cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditErrorTypegetErrorType()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
FcAuditException
public FcAuditException(AuditErrorType errorType, String message)
Creates a new exception with the given error type and message.- Parameters:
errorType- the error type describing what kind of error occurred.message- the detail message.- Since:
- 8.5.6
-
FcAuditException
public FcAuditException(AuditErrorType errorType, String message, Throwable cause)
Creates a new exception with the given error type, message and cause.- Parameters:
errorType- the error type describing what kind of error occurred.message- the detail message.cause- the underlying cause.- Since:
- 8.5.6
-
-
Method Detail
-
getErrorType
public AuditErrorType getErrorType()
-
-