|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.datasource.util.ExceptionManager
This class acts as both a repository for the current datasource exception handler and as the default implemention of a handler. The default implementation puts up a message dialog with the message.
Field Summary | |
protected static com.klg.jclass.datasource.util.ExceptionHandler |
handler
|
protected boolean |
writeToConsole
|
Constructor Summary | |
ExceptionManager()
|
|
ExceptionManager(boolean write_to_console)
|
Method Summary | |
static com.klg.jclass.datasource.util.ExceptionHandler |
getHandler()
Return the ExceptionHandler to used when the datasource throws an exception |
void |
processException(Component component,
com.klg.jclass.datasource.DataModelException ex)
This method is invoked by an datamodel exception generated by a user action on a databound component. |
static void |
setHandler(com.klg.jclass.datasource.util.ExceptionHandler h)
Set the ExceptionHandler to use when the datasource throws an exception |
void |
showException(Component component,
String title,
String message)
This method is invoked by an exception generated by a user action on a databound component. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static com.klg.jclass.datasource.util.ExceptionHandler handler
protected boolean writeToConsole
Constructor Detail |
public ExceptionManager()
public ExceptionManager(boolean write_to_console)
Method Detail |
public static final com.klg.jclass.datasource.util.ExceptionHandler getHandler()
public static final void setHandler(com.klg.jclass.datasource.util.ExceptionHandler h)
public void showException(Component component, String title, String message)
showException
in interface ExceptionHandler
public void processException(Component component, com.klg.jclass.datasource.DataModelException ex)
processException
in interface ExceptionHandler
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |