|
||||||||||
| 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.lang.RuntimeException
net.pleso.framework.client.bl.exceptions.FrameworkRuntimeException
net.pleso.framework.client.bl.exceptions.AsyncCallbackFailureException
public class AsyncCallbackFailureException
Represents wrapper for server exceptions. When server returns exception
through AsyncCallback.onFailure(Throwable) framework should rethrow
Throwable as RuntimeException. Usually it looks as follows:
public void onFailure(Throwable caught) {
throw new AsyncCallbackFailureException("Error", caught);
}
| Constructor Summary | |
|---|---|
AsyncCallbackFailureException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause. |
|
| 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 |
|---|
public AsyncCallbackFailureException(java.lang.String message,
java.lang.Throwable cause)
message - the detail messagecause - the cause
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||