org.rhq.core.clientapi.agent
Class PluginContainerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.rhq.core.clientapi.agent.PluginContainerException
All Implemented Interfaces:
Serializable

public class PluginContainerException
extends Exception

This generic exception thrown by the plugin container is part of its client API; thus this exception is available to both the plugin container as well as its remote clients.

Make sure that when constructing these exceptions, that any cause is also available to remote clients as well! If you are unsure, wrap the cause in a WrappedRemotingException before passing it to this class' constructor.

See Also:
Serialized Form

Constructor Summary
PluginContainerException()
           
PluginContainerException(String message)
           
PluginContainerException(String message, Throwable cause)
          Because this exception is part of the plugin container's client API and thus is to be available on remote clients as well, make sure the cause throwable you pass to this constructor is also available to remote clients.
PluginContainerException(Throwable cause)
          Because this exception is part of the plugin container's client API and thus is to be available on remote clients as well, make sure the cause throwable you pass to this constructor is also available to remote clients.
 
Method Summary
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PluginContainerException

public PluginContainerException(Throwable cause)
Because this exception is part of the plugin container's client API and thus is to be available on remote clients as well, make sure the cause throwable you pass to this constructor is also available to remote clients. If it is not or you are unsure, wrap the cause in a WrappedRemotingException before passing it in to this constructor.

See Also:
Throwable.Throwable(Throwable)

PluginContainerException

public PluginContainerException(String message,
                                Throwable cause)
Because this exception is part of the plugin container's client API and thus is to be available on remote clients as well, make sure the cause throwable you pass to this constructor is also available to remote clients. If it is not or you are unsure, wrap the cause in a WrappedRemotingException before passing it in to this constructor.

See Also:
Throwable.Throwable(String, Throwable)

PluginContainerException

public PluginContainerException()
See Also:
Throwable.Throwable()

PluginContainerException

public PluginContainerException(String message)
See Also:
Throwable.Throwable(String)


Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.