Autopsy  4.19.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoException Class Reference

Inherits org.sleuthkit.autopsy.exceptions.AutopsyException.

Public Member Functions

 CentralRepoException (String message)
 
 CentralRepoException (String message, String userMessage)
 
 CentralRepoException (String message, String userMessage, Throwable cause)
 
 CentralRepoException (String message, Throwable cause)
 
String getUserMessage ()
 

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

An exception to be thrown by an artifact manager.

Definition at line 26 of file CentralRepoException.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoException.CentralRepoException ( String  message)

Constructs an exception to be thrown by an artifact manager.

Parameters
messageThe exception message.

Definition at line 35 of file CentralRepoException.java.

org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoException.CentralRepoException ( String  message,
String  userMessage 
)

Constructs an exception to be thrown by an artifact manager with a user exception.

Parameters
messageException message.
userMessagethe user friendly message to include in this exception

Definition at line 45 of file CentralRepoException.java.

org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoException.CentralRepoException ( String  message,
String  userMessage,
Throwable  cause 
)

Constructs an exception to be thrown by an artifact manager with a user exception.

Parameters
messageException message.
userMessagethe user friendly message to include in this exception
causeException cause.

Definition at line 57 of file CentralRepoException.java.

org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoException.CentralRepoException ( String  message,
Throwable  cause 
)

Constructs an exception to be thrown by an artifact manager.

Parameters
messageThe exception message.
causeThe exception cause.

Definition at line 67 of file CentralRepoException.java.

Member Function Documentation

String org.sleuthkit.autopsy.exceptions.AutopsyException.getUserMessage ( )
inherited

Get the user-friendly message if one exists.

Returns
The user-friendly message if one was explicitly set, otherwise returns the exception message.

Definition at line 84 of file AutopsyException.java.

References org.sleuthkit.autopsy.exceptions.AutopsyException.userMessage.

Referenced by org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.doMessageBoxIfRunningInGUI(), and org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbManager.updatedDbSchema().

Member Data Documentation

final long org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoException.serialVersionUID = 1L
staticprivate

Definition at line 28 of file CentralRepoException.java.


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

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