public class ImaPluginException
extends RuntimeException
Modifier and Type | Field and Description |
---|---|
static String |
COPYRIGHT |
Constructor and Description |
---|
ImaPluginException(String errcode,
String message)
Create a plug-in runtime exception without a cause.
|
ImaPluginException(String errcode,
String message,
Throwable cause)
Create a plug-in runtime exception with a cause.
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
Get the error code for the exception.
|
String |
toString()
Get a string version of the exception including the error code.
|
public static final String COPYRIGHT
public ImaPluginException(String errcode, String message, Throwable cause)
errcode
- The error codemessage
- The human readable messagecause
- The cause of the exceptionpublic ImaPluginException(String errcode, String message)
errcode
- The error codemessage
- The human readable messagepublic String getErrorCode()
public String toString()
toString
in class Throwable
Copyright © Contributors to the Eclipse Foundation 2014-2021