com.ibm.icm.edc.plugin.api
Class PluginException
- java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.icm.edc.workmgr.work.ExportException
com.ibm.icm.edc.plugin.api.PluginException
All implemented interfaces:
java.io.Serializable
- public class PluginException
- extends com.ibm.icm.edc.workmgr.work.ExportException
See Also:
Constructor Summary
| Constructor and Description |
|---|
PluginException(java.lang.String pluginClass,java.lang.String id,int errorCode)
Internal use only
Creates a plug-in exception
|
PluginException(java.lang.String pluginClass,java.lang.String id,int errorCode,java.util.List<java.lang.String> errorParams)
Internal use only
Creates a plug-in exception, and specifies parameters to be used in the error message
|
PluginException(java.lang.String pluginClass,java.lang.String id,java.lang.String errorMessage)
Creates a plug-in exception
|
PluginException(java.lang.String pluginClass,java.lang.String id,java.lang.String propertyFile,java.lang.String errorKey)
Creates a plug-in exception
|
PluginException(java.lang.String pluginClass,java.lang.String id,java.lang.String propertyFile,java.lang.String errorKey,java.util.List<java.lang.String> errorParams)
Creates a plug-in exception
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
getBatchNumber()
|
|
getErrorCode()
|
|
getErrorKey()
|
|
getErrorMessage()
|
|
getErrorParams()
|
|
getID()
|
|
getPluginClass()
|
|
getPropertyFile()
|
| Methods inherited from class com.ibm.icm.edc.workmgr.work.ExportException |
|---|
getErrorClass, getErrorId, getParms, getSerialVersionUID |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail
PluginException
- public PluginException(java.lang.String pluginClass,
- java.lang.String id,
- int errorCode)
Internal use only
Creates a plug-in exception
Parameters:
pluginClass - the name of the plug-in class that throws the exception id - the unique identifier of the document or batch that causes the exception errorCode - an internally-known error code PluginException
- public PluginException(java.lang.String pluginClass,
- java.lang.String id,
- int errorCode,
- java.util.List<java.lang.String> errorParams)
Internal use only
Creates a plug-in exception, and specifies parameters to be used in the error message
Parameters:
pluginClass - the name of the plug-in class that throws the exception id - the unique identifier of the document or batch that causes the exception errorCode - an internally-known error code errorParams - the parameters needed for the error message PluginException
- public PluginException(java.lang.String pluginClass,
- java.lang.String id,
- java.lang.String errorMessage)
Creates a plug-in exception
Parameters:
pluginClass - the name of the plug-in class that throws the exception id - the unique identifier of the document or batch that causes the exception errorMessage - the error message to display on the error details panel for the task. This
error message is not translated. If the error message must be translated use other
constructors that specify a property file. PluginException
- public PluginException(java.lang.String pluginClass,
- java.lang.String id,
- java.lang.String propertyFile,
- java.lang.String errorKey)
Creates a plug-in exception
Parameters:
pluginClass - the name of the plug-in class that throws the exception id - the unique identifier of the document or batch that causes the exception propertyFile - the name of the java .properties file that contains the errorKey and message combinations.
Store a message in a properties file if the message must be translated. PluginException
- public PluginException(java.lang.String pluginClass,
- java.lang.String id,
- java.lang.String propertyFile,
- java.lang.String errorKey,
- java.util.List<java.lang.String> errorParams)
Creates a plug-in exception
Parameters:
pluginClass - the name of the plug-in class that throws the exception id - the unique identifier of the document or batch that causes the exception Method Detail
getBatchNumber
- public int getBatchNumber()
getErrorCode
- public int getErrorCode()
getErrorKey
- public java.lang.String getErrorKey( )
getErrorMessage
- public java.lang.String getErrorMessage( )
getErrorParams
- public java.util.List<java.lang.String> getErrorParams( )
getID
- public java.lang.String getID()
getPluginClass
- public java.lang.String getPluginClass( )
getPropertyFile
- public java.lang.String getPropertyFile( )