DESY ACOP Beans Home

com.cosylab.application
Class PlugInException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.cosylab.util.CommonException
              extended by com.cosylab.application.PlugInException
All Implemented Interfaces:
CommonThrowable, java.io.Serializable

public class PlugInException
extends CommonException

An exception describing the problem with plugin installation. These checked exceptions are thrown when the construction or initialization of the plugin fail; when there are cyclic references in the plugin installation; or when the plugin does not conform to the plugin design contract.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.cosylab.util.CommonException
actions, caughtIn, helpID, host, instance, thread, timestamp, username, values
 
Constructor Summary
PlugInException(java.lang.Object source, java.lang.String message, java.lang.Class plugType, java.lang.Throwable t)
          Creates a new instance of this exception.
 
Method Summary
 java.lang.String toString()
          Returns a string rendering of this exception.
 
Methods inherited from class com.cosylab.util.CommonException
caughtIn, getActions, getCaughtIn, getHelpID, getHost, getInstance, getParent, getThread, getTimestamp, getUsername, getValue, getValues, initialize, putValue, setActions, setHelpID
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.cosylab.util.CommonThrowable
getMessage
 

Constructor Detail

PlugInException

public PlugInException(java.lang.Object source,
                       java.lang.String message,
                       java.lang.Class plugType,
                       java.lang.Throwable t)
Creates a new instance of this exception.

Parameters:
source - the object throwing the exception
message - message to be printed by this exception
plugType - class object representing the plug the installation of which failed (can be null
t - exception that caused this exception to be thrown (can be null)
Method Detail

toString

public java.lang.String toString()
Returns a string rendering of this exception.

Overrides:
toString in class java.lang.Throwable
Returns:
String overloaded toString return value.


Copyright © 2010. All Rights Reserved.