Class PluginError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ca.cgjennings.apps.arkham.plugins.PluginError
-
- All Implemented Interfaces:
java.io.Serializable
public class PluginError extends java.lang.RuntimeException
This is an unchecked exception that can be thrown from within a plug-in when an unexpected error occurs from which the plug-in cannot recover. If it is thrown while the plug-in is being initialized, it will prevent the plug-in form being loaded.- Since:
- 3.0
- Author:
- Chris Jennings
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PluginError()
Creates a plug-in error with no specific error message.PluginError(java.lang.String message)
Creates a plug-in error with the given error message.PluginError(java.lang.String message, java.lang.Throwable cause)
Creates a plug-in error with the given error message that indicates the specified exception as the root cause.PluginError(java.lang.Throwable cause)
Creates a plug-in error with the specified exception set as the root cause.
-
-
-
Constructor Detail
-
PluginError
public PluginError()
Creates a plug-in error with no specific error message.
-
PluginError
public PluginError(java.lang.String message)
Creates a plug-in error with the given error message.- Parameters:
message
- an error message
-
PluginError
public PluginError(java.lang.Throwable cause)
Creates a plug-in error with the specified exception set as the root cause.- Parameters:
cause
- the exception that caused the plug-in error to be thrown
-
PluginError
public PluginError(java.lang.String message, java.lang.Throwable cause)
Creates a plug-in error with the given error message that indicates the specified exception as the root cause.- Parameters:
message
- an error messagecause
- the exception that caused the plug-in error to be thrown
-
-