Class UserCausedDocumentServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
se.conciliate.extensions.documentservice.exception.DocumentServiceException
se.conciliate.extensions.documentservice.exception.UserCausedDocumentServiceException
- All Implemented Interfaces:
Serializable
Deprecated.
Used to signal an error that the user is likely to be able to correct.
- Author:
- Per-Erik
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUserCausedDocumentServiceException
(String title, String fault, String meassure) Deprecated.Creates a new UserCausedDocumentServiceExceptionUserCausedDocumentServiceException
(String title, String fault, String meassure, Throwable cause) Deprecated.Creates a new UserCausedDocumentServiceException. -
Method Summary
Modifier and TypeMethodDescriptiongetFault()
Deprecated.Returns a user friendly description of the error, such as "The server connections are not correctly set up".Deprecated.Returns a user friendly description of what to do to correct the error, such as "Please provide a server adress in the adress settings and restart the plugin.".Deprecated.Overrides the default message and returns getFault().getTitle()
Deprecated.Returns a short, consice description of the error, such as "Settings not found".Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UserCausedDocumentServiceException
Deprecated.Creates a new UserCausedDocumentServiceException- Parameters:
title
- The title of the exception, as displayed to the user.fault
- A description of the exception, as displayed to the user.meassure
- A counter meassure to correct this fault, if available, as displayed to the user.
-
UserCausedDocumentServiceException
public UserCausedDocumentServiceException(String title, String fault, String meassure, Throwable cause) Deprecated.Creates a new UserCausedDocumentServiceException.- Parameters:
title
- The title of the exception, as displayed to the user.fault
- A description of the exception, as displayed to the user.meassure
- A counter meassure to correct this fault, if available, as displayed to the user.cause
- the throwable that caused this exception.
-
-
Method Details
-
getFault
Deprecated.Returns a user friendly description of the error, such as "The server connections are not correctly set up".- Returns:
- a user friendly description of the error.
-
getMeassure
Deprecated.Returns a user friendly description of what to do to correct the error, such as "Please provide a server adress in the adress settings and restart the plugin.".- Returns:
- a user friendly description of what to do to correct the error
-
getMessage
Deprecated.Overrides the default message and returns getFault().- Overrides:
getMessage
in classThrowable
- See Also:
-
getTitle
Deprecated.Returns a short, consice description of the error, such as "Settings not found".- Returns:
- a short, consice description of the error
-