|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
java.rmi.RemoteException
org.gcube.common.core.faults.GCUBEException
public abstract class GCUBEException
Root of all exceptions with GCUBE semantics.
| Field Summary |
|---|
| Fields inherited from class java.rmi.RemoteException |
|---|
detail |
| Constructor Summary | |
|---|---|
GCUBEException()
Creates an exception with a no message and no cause. |
|
GCUBEException(String msg)
Creates an exception with a given message. |
|
GCUBEException(String msg,
Throwable cause)
Creates an exception with a given message and cause. |
|
GCUBEException(Throwable cause)
Create an exception with a given cause. |
|
| Method Summary | |
|---|---|
abstract GCUBEFault |
getFault()
Returns a stub object of the remote fault class which corresponds to the exception. |
GCUBEFault |
toFault(String... msg)
Converts the exception into a corresponding remote fault. |
| 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 |
|---|
public GCUBEException()
public GCUBEException(String msg,
Throwable cause)
msg - the message.cause - the cause.public GCUBEException(String msg)
msg - the message.public GCUBEException(Throwable cause)
cause - the cause.| Method Detail |
|---|
public abstract GCUBEFault getFault()
public GCUBEFault toFault(String... msg)
msg - an optional message specific to the new fault.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||