com.fatwire.cs.ui.exception
Interface UIExceptionManager


public interface UIExceptionManager

This class is used to add and remove exceptions from being displayed in the UI.


Method Summary
 void addException(UIException ex)
          Adds an exception to be displayed in the UI.
 void clear()
          Clears all unnamed exceptions from being displayed.
 UIException getException(java.lang.String sName)
          Returns the named exception
 java.util.List<? extends UIException> getExceptions()
          Returns all exceptions
 UIException removeException(java.lang.String sName)
          Removes the named exception
 

Method Detail

addException

void addException(UIException ex)
Adds an exception to be displayed in the UI.

Parameters:
ex - - exception for UI display

clear

void clear()
Clears all unnamed exceptions from being displayed. Named exceptions lifecycle must be handled by their creator explicitly.

See Also:
UIException.setName(String)

getException

UIException getException(java.lang.String sName)
Returns the named exception

Parameters:
sName - - exception name.
Returns:
Returns the named exception

getExceptions

java.util.List<? extends UIException> getExceptions()
Returns all exceptions

Returns:
Returns all exceptions

removeException

UIException removeException(java.lang.String sName)
Removes the named exception

Parameters:
sName - of exception to remove
Returns:
the removed exception


Copyright (c) 2003 - 2011 FatWire Corporation All Rights Reserved.