Class ExceptionHandler
- java.lang.Object
-
- org.odpi.openmetadata.adapters.connectors.integration.postgres.ffdc.ExceptionHandler
-
public class ExceptionHandler extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ExceptionHandler()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidhandleException(org.odpi.openmetadata.frameworks.auditlog.AuditLog logger, java.lang.String className, java.lang.String methodName, java.lang.Exception error, org.odpi.openmetadata.frameworks.auditlog.messagesets.AuditLogMessageDefinition auditCodeMsg, org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageDefinition errorCodeMsg)
-
-
-
Method Detail
-
handleException
public static void handleException(org.odpi.openmetadata.frameworks.auditlog.AuditLog logger, java.lang.String className, java.lang.String methodName, java.lang.Exception error, org.odpi.openmetadata.frameworks.auditlog.messagesets.AuditLogMessageDefinition auditCodeMsg, org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageDefinition errorCodeMsg) throws AlreadyHandledException- Parameters:
logger- the audit loggerclassName- the name of the class that caught the exceptionmethodName- the name of the method that caught the exceptionerror- the exception to be loggedauditCodeMsg- the audit messageerrorCodeMsg- the error message- Throws:
AlreadyHandledException- an exception letting caller methods to know
-
-