org.gcube.common.core.faults
Class GCUBERetryEquivalentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.rmi.RemoteException
                  extended by org.gcube.common.core.faults.GCUBEException
                      extended by org.gcube.common.core.faults.GCUBERetryEquivalentException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GCUBERIPersistenceManager.StateNotFoundException

public class GCUBERetryEquivalentException
extends GCUBEException

Root of all exceptions with RETRY-EQUIVALENT semantics.

Author:
University of Strathclyde (USG)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.RemoteException
detail
 
Constructor Summary
GCUBERetryEquivalentException()
          Creates an exception with a no message and no cause.
GCUBERetryEquivalentException(String msg)
          Creates an exception with a given message.
GCUBERetryEquivalentException(String msg, Throwable cause)
          Creates an exception with a given message and cause.
GCUBERetryEquivalentException(Throwable cause)
          Create an exception with a given cause.
 
Method Summary
 GCUBEFault getFault()
          Returns a stub object of the remote fault class which corresponds to the exception.
 
Methods inherited from class org.gcube.common.core.faults.GCUBEException
toFault
 
Methods inherited from class java.rmi.RemoteException
getCause, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, 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

GCUBERetryEquivalentException

public GCUBERetryEquivalentException()
Creates an exception with a no message and no cause.


GCUBERetryEquivalentException

public GCUBERetryEquivalentException(String msg,
                                     Throwable cause)
Creates an exception with a given message and cause.

Parameters:
msg - the message.
cause - the cause.

GCUBERetryEquivalentException

public GCUBERetryEquivalentException(String msg)
Creates an exception with a given message.

Parameters:
msg - the message.

GCUBERetryEquivalentException

public GCUBERetryEquivalentException(Throwable cause)
Create an exception with a given cause.

Parameters:
cause - the cause.
Method Detail

getFault

public GCUBEFault getFault()
Returns a stub object of the remote fault class which corresponds to the exception.

Specified by:
getFault in class GCUBEException
Returns:
the stub object.


Copyright © 2013. All Rights Reserved.