|
|||||||||
| 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.InterruptedException
com.mmoui.manager.services.UpdateElement.UpdateCancelledException
public static class UpdateElement.UpdateCancelledException
Defines an exception that can occur when an update is cancelled.
This extends the InterruptedException class which can be
used for generic cancellations by adding a Status
capability which can be used to determine coloration of the
message that should be displayed to the user.
| Constructor Summary | |
|---|---|
UpdateElement.UpdateCancelledException(java.lang.String msg,
UpdateStatusListener.Status status)
Creates a new UpdateCancelledException with the
specified message and status code |
|
| Method Summary | |
|---|---|
void |
updateStatus(UpdateStatusListener listener)
Updates the specified UpdateStatusListener with the
details from this exception |
| 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UpdateElement.UpdateCancelledException(java.lang.String msg,
UpdateStatusListener.Status status)
UpdateCancelledException with the
specified message and status code
msg - the message to display to the userstatus - the status type to| Method Detail |
|---|
public void updateStatus(UpdateStatusListener listener)
UpdateStatusListener with the
details from this exception
listener - the listener to update
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||