Class InsightException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.riadalabs.jira.plugins.insight.common.exception.InsightException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConnectionInsightException
,DataInconsistencyInsightException
,ExportInsightException
,FormatInsightException
,GroovyInsightException
,GroovyScriptEvaluationDisallowedException
,GroovyScriptFileAccessException
,IllegalArchivedObjectModificationException
,IllegalStateInsightException
,ImportInsightException
,ImportObjectSchemaException
,InsightProgressIllegalStateException
,IQLConversionInsightException
,IQLValidationException
,NotFoundInsightException
,OptimisticLockException
,PermissionInsightException
,RuntimeInsightException
,ValidationInsightException
InsightException is base class for all Assets exceptions. EtcAbstractInsightException exceptions are checked
exception and have to be declared.
- Since:
- 1.0
- Author:
- Mathias Edblom
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInsightException
(Exception cause) Constructs a InsightException with a nested exception.InsightException
(String message) Constructs a InsightException with a nested exception.InsightException
(String message, Exception cause) Constructs a InsightException with the specified detail message. -
Method Summary
Modifier and TypeMethodDescriptionReturns the detail message, including the message from the nested exception if there is one.void
void
Prints the composite message and the embedded stack trace to the specified streamps
.void
Prints the composite message and the embedded stack trace to the specified streampw
.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
InsightException
public InsightException() -
InsightException
Constructs a InsightException with a nested exception.- Parameters:
message
- - A describing message. Typically a message which a system adminitrator would understand.
-
InsightException
Constructs a InsightException with the specified detail message.- Parameters:
message
- - A describing message. Typically a message which a system adminitrator would understand.cause
- - The original/nested exception
-
InsightException
Constructs a InsightException with a nested exception.- Parameters:
cause
- - The original exception
-
-
Method Details
-
getMessage
Returns the detail message, including the message from the nested exception if there is one.- Overrides:
getMessage
in classThrowable
- Returns:
- message of the detailed exception
- Since:
- JDK1.1
-
printStackTrace
Prints the composite message and the embedded stack trace to the specified streamps
.- Overrides:
printStackTrace
in classThrowable
- Parameters:
ps
- the print stream
-
printStackTrace
Prints the composite message and the embedded stack trace to the specified streampw
.- Overrides:
printStackTrace
in classThrowable
- Parameters:
pw
- the print writer- See Also:
-
printStackTrace
public void printStackTrace()- Overrides:
printStackTrace
in classThrowable
-