org.gridbus.broker
Class GridBrokerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.gridbus.broker.GridBrokerException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
QosException

public class GridBrokerException
extends java.lang.Exception

Ideally the whole GridBroker system would throw only these, or derived classes. Presently this is not the case and the 'user' must deal with many exception types. Where I have had to modify code (usually to change exit(0) to a throw) I use these.

Author:
Brett Beeson (bbeeson)
See Also:
Serialized Form

Constructor Summary
GridBrokerException(java.lang.String msg)
          Constructor for GridBrokerException
GridBrokerException(java.lang.String msg, java.lang.Throwable cause)
          Constructor for GridBrokerException
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GridBrokerException

public GridBrokerException(java.lang.String msg,
                           java.lang.Throwable cause)
Constructor for GridBrokerException

Parameters:
msg - - the error message
cause - - the exception object which causes the error

GridBrokerException

public GridBrokerException(java.lang.String msg)
Constructor for GridBrokerException

Parameters:
msg - - the error message