@PublicApi public abstract class InsightException extends Exception
Constructor and Description |
---|
InsightException() |
InsightException(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.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Returns the detail message, including the message from the nested exception if there is one.
|
void |
printStackTrace() |
void |
printStackTrace(PrintStream ps)
Prints the composite message and the embedded stack trace to the specified stream
ps . |
void |
printStackTrace(PrintWriter pw)
Prints the composite message and the embedded stack trace to the specified stream
pw . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public InsightException()
public InsightException(String message)
message
- - A describing message. Typically a message which a system adminitrator would understand.public InsightException(String message, Exception cause)
message
- - A describing message. Typically a message which a system adminitrator would understand.cause
- - The original/nested exceptionpublic InsightException(Exception cause)
cause
- - The original exceptionpublic String getMessage()
getMessage
in class Throwable
public void printStackTrace(PrintStream ps)
ps
.printStackTrace
in class Throwable
ps
- the print streampublic void printStackTrace(PrintWriter pw)
pw
.printStackTrace
in class Throwable
pw
- the print writerThrowable.printStackTrace(PrintWriter)
public void printStackTrace()
printStackTrace
in class Throwable
Copyright © 2023 Atlassian. All rights reserved.