org.omnaest.utils.events.exception.basic
Class ExceptionHandlerBooleanState
java.lang.Object
org.omnaest.utils.events.exception.basic.ExceptionHandlerBooleanState
- All Implemented Interfaces:
- Serializable, ExceptionHandler, ExceptionHandlerSerializable
public class ExceptionHandlerBooleanState
- extends Object
- implements ExceptionHandlerSerializable
ExceptionHandlerSerializable holding an internal state flag. If any Exception has been handled
hasNoErrors() will return false until resetState() is called
- Author:
- Omnaest
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionHandlerBooleanState
public ExceptionHandlerBooleanState()
handleException
public void handleException(Exception e)
- Description copied from interface:
ExceptionHandler
- Handles the given
Exception
- Specified by:
handleException in interface ExceptionHandler
- Parameters:
e - Exception
hasNoErrors
public boolean hasNoErrors()
resetState
public void resetState()
Copyright © 2013. All Rights Reserved.