public interface DiagnosticHandler
DiagnosticContext
object.Modifier and Type | Method and Description |
---|---|
DiagnosticContext |
createDiagnosticContext(CLLException cllException,
CentraSiteRegistryObject regObject,
java.util.Properties properties)
Instantiate the DiagnosticContext with the given exception and properties.
|
DiagnosticContext |
createDiagnosticContext(CLLException cllException,
java.util.Properties properties)
Instantiate the DiagnosticContext with the given exception and properties.
|
void |
sendDiagnostics(DiagnosticContext dContext)
This method sends the diagnostic content to the configured email recipients.
|
void sendDiagnostics(DiagnosticContext dContext)
dContext
- The DiagnosticContext
to send to the configured email recipientsDiagnosticContext createDiagnosticContext(CLLException cllException, java.util.Properties properties) throws CLLException
cllException
- CLLException
that needs to be send to user.properties
- Properties
- User-defined email template tokens for replacing the default
diagnostics email template's token.DiagnosticContext
instanceCLLException
- In case of a failure to instantiate the DiagnosticContext.DiagnosticContext createDiagnosticContext(CLLException cllException, CentraSiteRegistryObject regObject, java.util.Properties properties) throws CLLException
cllException
- CLLException
that needs to be send to user.regObject
- CentraSiteRegistryObject
instanceproperties
- Properties
- User-defined email template tokens for replacing the default
diagnostics email template's token.DiagnosticContext
instanceCLLException
- In case of a failure to instantiate the DiagnosticContext.