|
|||||||||
| Home >> All >> org >> scopemvc >> [ core overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.scopemvc.core
Class ControlException

java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.scopemvc.util.LocalizedException
org.scopemvc.core.ControlException
- All Implemented Interfaces:
- java.io.Serializable
- public final class ControlException
- extends org.scopemvc.util.LocalizedException
Controllers throw ControlExceptions while responding to Controls if something goes wrong that must be reported to the user. A ControlException is a org.scopemvc.util.LocalizedException.
ControlExceptions contain a Control ID that can be used by an error handler to identify the Control that caused the exception. For example, the Control ID could be used to get a String title from UIStrings for a Swing error dialog. The error handling implementation in BasicController automatically populates the Control ID.
- Version:
- $Revision: 1.2 $ $Date: 2002/01/12 09:35:40 $
| Nested Class Summary |
| Nested classes inherited from class java.lang.Throwable |
|
| Field Summary | |
private java.lang.String |
sourceControlID
|
| Fields inherited from class org.scopemvc.util.LocalizedException |
|
| Fields inherited from class java.lang.Exception |
|
| Fields inherited from class java.lang.Throwable |
|
| Constructor Summary | |
ControlException(java.lang.String inMessageID)
|
|
ControlException(java.lang.String inMessageID,
java.lang.Object inMessageParameter)
|
|
ControlException(java.lang.String inMessageID,
java.lang.Object[] inMessageParameters)
|
|
| Method Summary | |
java.lang.String |
getLocalizedSourceControlName()
Use the source Control ID to get a localised name from the UIStrings. |
void |
setSourceControlID(java.lang.String inSourceControlID)
|
| Methods inherited from class org.scopemvc.util.LocalizedException |
getLocalizedMessage |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, 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 |
| Field Detail |
sourceControlID
private java.lang.String sourceControlID
| Constructor Detail |
ControlException
public ControlException(java.lang.String inMessageID)
ControlException
public ControlException(java.lang.String inMessageID, java.lang.Object inMessageParameter)
ControlException
public ControlException(java.lang.String inMessageID, java.lang.Object[] inMessageParameters)
| Method Detail |
setSourceControlID
public final void setSourceControlID(java.lang.String inSourceControlID)
getLocalizedSourceControlName
public final java.lang.String getLocalizedSourceControlName()
- Use the source Control ID to get a localised name from the
UIStrings.
|
|||||||||
| Home >> All >> org >> scopemvc >> [ core overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC