Autopsy  4.18.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.exceptions.AutopsyExceptionHandler Class Reference

Inherits Handler.

Classes

class  ExceptionFilter
 

Public Member Functions

 AutopsyExceptionHandler ()
 
void close () throws SecurityException
 
void flush ()
 
void publish (LogRecord record)
 

Private Member Functions

String formatExplanation (LogRecord record)
 

Static Private Member Functions

static int getMessageTypeForLevelValue (int levelValue)
 
static String getTitleForLevelValue (int levelValue)
 

Private Attributes

final Logger logger = Logger.getLogger(AutopsyExceptionHandler.class.getName())
 

Detailed Description

Replaces default NetBeans exception handler. Displays messages in a dialog.

Definition at line 37 of file AutopsyExceptionHandler.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.exceptions.AutopsyExceptionHandler.AutopsyExceptionHandler ( )

Definition at line 46 of file AutopsyExceptionHandler.java.

Member Function Documentation

void org.sleuthkit.autopsy.exceptions.AutopsyExceptionHandler.close ( ) throws SecurityException

Definition at line 147 of file AutopsyExceptionHandler.java.

void org.sleuthkit.autopsy.exceptions.AutopsyExceptionHandler.flush ( )

Definition at line 142 of file AutopsyExceptionHandler.java.

String org.sleuthkit.autopsy.exceptions.AutopsyExceptionHandler.formatExplanation ( LogRecord  record)
private
Parameters
recordA LogRecord with both a message and associated Throwable set.
Returns
A String containing the log message and the cause of the Throwable (if there is one).

Definition at line 100 of file AutopsyExceptionHandler.java.

static int org.sleuthkit.autopsy.exceptions.AutopsyExceptionHandler.getMessageTypeForLevelValue ( int  levelValue)
staticprivate

Definition at line 121 of file AutopsyExceptionHandler.java.

static String org.sleuthkit.autopsy.exceptions.AutopsyExceptionHandler.getTitleForLevelValue ( int  levelValue)
staticprivate

Definition at line 131 of file AutopsyExceptionHandler.java.

void org.sleuthkit.autopsy.exceptions.AutopsyExceptionHandler.publish ( LogRecord  record)

Member Data Documentation

final Logger org.sleuthkit.autopsy.exceptions.AutopsyExceptionHandler.logger = Logger.getLogger(AutopsyExceptionHandler.class.getName())
private

Definition at line 44 of file AutopsyExceptionHandler.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2021 Basis Technology. Generated on: Thu Jul 8 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.