public interface IOAction extends Action
IOAction
class is extended by classes which perform some kind of I/O. Classes
implementing this interface have to guarantee that occurring IOException
are handled
suitable. However, the implementing class has to provide information whether an exception has
occurred and if so, what kind of exception.Modifier and Type | Method and Description |
---|---|
Exception |
getException()
Returns the exception which has been occurred if existing.
|
boolean |
hasExceptionOccured()
Returns
true if an exception has been occurred during
the execution of this action. |
boolean hasExceptionOccured()
true
if an exception has been occurred during
the execution of this action.true
if an exception has been occurred, false
otherwiseException getException()
null
if no exception has been occurred