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

@PublicApi public abstract class InsightException extends Exception
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 Details

    • InsightException

      public InsightException()
    • InsightException

      public InsightException(String message)
      Constructs a InsightException with a nested exception.
      Parameters:
      message - - A describing message. Typically a message which a system adminitrator would understand.
    • InsightException

      public InsightException(String message, Exception cause)
      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

      public InsightException(Exception cause)
      Constructs a InsightException with a nested exception.
      Parameters:
      cause - - The original exception
  • Method Details

    • getMessage

      public String getMessage()
      Returns the detail message, including the message from the nested exception if there is one.
      Overrides:
      getMessage in class Throwable
      Returns:
      message of the detailed exception
      Since:
      JDK1.1
    • printStackTrace

      public void printStackTrace(PrintStream ps)
      Prints the composite message and the embedded stack trace to the specified stream ps.
      Overrides:
      printStackTrace in class Throwable
      Parameters:
      ps - the print stream
    • printStackTrace

      public void printStackTrace(PrintWriter pw)
      Prints the composite message and the embedded stack trace to the specified stream pw.
      Overrides:
      printStackTrace in class Throwable
      Parameters:
      pw - the print writer
      See Also:
    • printStackTrace

      public void printStackTrace()
      Overrides:
      printStackTrace in class Throwable