Interface | Description |
---|---|
Statement |
Code that should be executed by
Fishbowl.exceptionThrownBy(Statement) . |
StatementWithReturnValue<V> |
Code that returns a value if it is executed by
Fishbowl.exceptionThrownBy(Statement) . |
Class | Description |
---|---|
Fishbowl |
Fishbowl provides helper methods for dealing with exceptions. |
Exception | Description |
---|---|
WrappedException |
Wraps another exception.
|
Error | Description |
---|---|
ExceptionNotThrownFailure |
This exception is thrown by
Fishbowl.exceptionThrownBy(Statement)
if the provided Statement
did not throw an exception. |
ExceptionWithWrongTypeThrownFailure |
This exception is thrown by
Fishbowl.exceptionThrownBy(Statement, java.lang.Class)
if the provided Statement
did throw an exception that does not have the specified type. |
Copyright © 2014–2017. All rights reserved.