org.gcube.common.core.faults
Class GCUBEUnrecoverableException

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

public class GCUBEUnrecoverableException
extends GCUBEException

Root of all exceptions with UNRECOVERABLE semantics.

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

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

GCUBEUnrecoverableException

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


GCUBEUnrecoverableException

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

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

GCUBEUnrecoverableException

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

Parameters:
msg - the message.

GCUBEUnrecoverableException

public GCUBEUnrecoverableException(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 © 2012. All Rights Reserved.