org.rhq.core.domain.resource
Class CannotConnectToAgentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.rhq.core.domain.resource.CannotConnectToAgentException
All Implemented Interfaces:
Serializable

public class CannotConnectToAgentException
extends RuntimeException

This exception should be throw when invoking an agent service fails because the agent is down or otherwise unreachable. This class is defined in the in the domain module instead of the server/jar module because it needs to be accessible by the UI.

See Also:
Serialized Form

Constructor Summary
CannotConnectToAgentException()
           
CannotConnectToAgentException(String message)
           
CannotConnectToAgentException(String message, Throwable cause)
           
CannotConnectToAgentException(Throwable cause)
           
 
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

CannotConnectToAgentException

public CannotConnectToAgentException()

CannotConnectToAgentException

public CannotConnectToAgentException(String message)

CannotConnectToAgentException

public CannotConnectToAgentException(String message,
                                     Throwable cause)

CannotConnectToAgentException

public CannotConnectToAgentException(Throwable cause)


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