org.gcube.common.core.faults
Class GCUBERetrySameException

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.GCUBERetrySameException
All Implemented Interfaces:
Serializable

public class GCUBERetrySameException
extends GCUBEException

Root of all exceptions with RETRY-SAME semantics.

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

Field Summary
 
Fields inherited from class java.rmi.RemoteException
detail
 
Constructor Summary
GCUBERetrySameException()
          Creates an exception with a no message and no cause.
GCUBERetrySameException(String msg)
          Creates an exception with a given message.
GCUBERetrySameException(String msg, Throwable cause)
          Creates an exception with a given message and cause.
GCUBERetrySameException(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.
 String getFaultType()
          Returns the type of the remote fault 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

GCUBERetrySameException

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


GCUBERetrySameException

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

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

GCUBERetrySameException

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

Parameters:
msg - the message.

GCUBERetrySameException

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

Parameters:
cause - the cause.
Method Detail

getFaultType

public final String getFaultType()
Returns the type of the remote fault which corresponds to the exception.

Returns:
the type.

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.