fm.audiobox.core.exceptions.ExceptionHandler |
An exception handler is used to perform further operations when an
AudioBoxException
is thrown.
You can set your ExceptionHandler via setExceptionHandler(ExceptionHandler)
.
Classes that implements an ExceptionHandler must respond to onException
method that passes an
AudioBoxException as argument.
If the return value of onException
is true
then the exception is considered "handled" and
no further actions will be taken. If false
is returned then the exception is thrown to upper stack.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean |
onException(AudioBoxException e)
This method implementation must return
true if the given AudioBoxException
was handled, false otherwise. |
This method implementation must return true
if the given AudioBoxException
was handled, false
otherwise.
If the AudioBoxException
was not handled then the exception is thrown to
the next level.