A B C D E F G H I M O P R S T V W 

A

AbstractExceptionProcessingInvocationHandler<E extends Exception> - Class in com.googlecode.catchexception.internal
This abstract method invocation interceptor delegates all method calls to the 'underlying object', catches exceptions of a given type, and (optionally) asserts that an exception of a specific type is thrown.
AbstractExceptionProcessingInvocationHandler(Object, Class<E>, boolean) - Constructor for class com.googlecode.catchexception.internal.AbstractExceptionProcessingInvocationHandler
 
AbstractThrowableProcessingInvocationHandler<E extends Throwable> - Class in com.googlecode.catchexception.throwable.internal
This abstract method invocation interceptor delegates all method calls to the 'underlying object', catches throwables of a given type, and (optionally) asserts that an throwable of a specific type is thrown.
AbstractThrowableProcessingInvocationHandler(Object, Class<E>, boolean) - Constructor for class com.googlecode.catchexception.throwable.internal.AbstractThrowableProcessingInvocationHandler
 
afterInvocation(Object) - Method in class com.googlecode.catchexception.internal.AbstractExceptionProcessingInvocationHandler
Must be called by the subclass after the method invocation that has not thrown a exception.
afterInvocation(Object) - Method in class com.googlecode.catchexception.throwable.internal.AbstractThrowableProcessingInvocationHandler
Must be called by the subclass after the method invocation that has not thrown a throwable.
afterInvocationThrowsException(Exception, Method) - Method in class com.googlecode.catchexception.internal.AbstractExceptionProcessingInvocationHandler
Must be called by the subclass after the intercepted method invocation that has thrown a exception.
afterInvocationThrowsThrowable(Throwable, Method) - Method in class com.googlecode.catchexception.throwable.internal.AbstractThrowableProcessingInvocationHandler
Must be called by the subclass after the intercepted method invocation that has thrown a throwable.
assertException - Variable in class com.googlecode.catchexception.internal.AbstractExceptionProcessingInvocationHandler
assertThat(Throwable) - Static method in class org.assertj.core.api.CompatibilityAssertions
 
assertThrowable - Variable in class com.googlecode.catchexception.throwable.internal.AbstractThrowableProcessingInvocationHandler

B

BDDCatchException - Class in com.googlecode.catchexception.apis
Supports BDD-like approach to catch and verify exceptions (given/when/then).
BDDCatchException() - Constructor for class com.googlecode.catchexception.apis.BDDCatchException
 
BDDCatchThrowable - Class in com.googlecode.catchexception.throwable.apis
Supports BDD-like approach to catch and verify throwables (given/when/then).
BDDCatchThrowable() - Constructor for class com.googlecode.catchexception.throwable.apis.BDDCatchThrowable
 
beforeInvocation() - Method in class com.googlecode.catchexception.internal.AbstractExceptionProcessingInvocationHandler
Must be called by the subclass before the intercepted method invocation.
beforeInvocation() - Method in class com.googlecode.catchexception.throwable.internal.AbstractThrowableProcessingInvocationHandler
Must be called by the subclass before the intercepted method invocation.

C

CatchException - Class in com.googlecode.catchexception
The methods of this class catch and verify exceptions in a single line of code and make them available for further analysis.
CatchException() - Constructor for class com.googlecode.catchexception.CatchException
 
catchException(T) - Static method in class com.googlecode.catchexception.CatchException
Use it to catch an exception and to get access to the thrown exception (for further verifications).
catchException(T, Class<E>) - Static method in class com.googlecode.catchexception.CatchException
Use it to catch an exception of a specific type and to get access to the thrown exception (for further verifications).
CatchExceptionAssertJ - Class in com.googlecode.catchexception.apis
Deprecated.
As of release 1.3.0, replaced by com.googlecode.catchexception.apis.BDDCatchException()
CatchExceptionAssertJ() - Constructor for class com.googlecode.catchexception.apis.CatchExceptionAssertJ
Deprecated.
 
CatchExceptionBdd - Class in com.googlecode.catchexception.apis
Deprecated.
As of release 1.3.0, replaced by com.googlecode.catchexception.apis.BDDCatchException()
CatchExceptionBdd() - Constructor for class com.googlecode.catchexception.apis.CatchExceptionBdd
Deprecated.
 
CatchExceptionHamcrestMatchers - Class in com.googlecode.catchexception.apis
Provides some Hamcrest matchers to match some exception properties.
CatchExceptionHamcrestMatchers() - Constructor for class com.googlecode.catchexception.apis.CatchExceptionHamcrestMatchers
 
CatchThrowable - Class in com.googlecode.catchexception.throwable
 
CatchThrowable() - Constructor for class com.googlecode.catchexception.throwable.CatchThrowable
 
catchThrowable(T) - Static method in class com.googlecode.catchexception.throwable.CatchThrowable
Use it to catch an throwable and to get access to the thrown throwable (for further verifications).
catchThrowable(T, Class<E>) - Static method in class com.googlecode.catchexception.throwable.CatchThrowable
Use it to catch an throwable of a specific type and to get access to the thrown throwable (for further verifications).
CatchThrowableAssertJ - Class in com.googlecode.catchexception.throwable.apis
Deprecated.
As of release 1.3.0, replaced by com.googlecode.catchexception.throwable.apis.BDDCatchThrowable()
CatchThrowableAssertJ() - Constructor for class com.googlecode.catchexception.throwable.apis.CatchThrowableAssertJ
Deprecated.
 
CatchThrowableBdd - Class in com.googlecode.catchexception.throwable.apis
Deprecated.
As of release 1.3.0, replaced by com.googlecode.catchexception.throwable.apis.BDDCatchThrowable()
CatchThrowableBdd() - Constructor for class com.googlecode.catchexception.throwable.apis.CatchThrowableBdd
Deprecated.
 
CatchThrowableHamcrestMatchers - Class in com.googlecode.catchexception.throwable.apis
Provides some Hamcrest matchers to match some throwable properties.
CatchThrowableHamcrestMatchers() - Constructor for class com.googlecode.catchexception.throwable.apis.CatchThrowableHamcrestMatchers
 
caughtException() - Static method in class com.googlecode.catchexception.CatchException
Returns the exception caught during the last call on the proxied object in the current thread.
caughtException - Static variable in class com.googlecode.catchexception.internal.ExceptionHolder
The container for the most recently caught exception.
caughtThrowable() - Static method in class com.googlecode.catchexception.throwable.CatchThrowable
Returns the throwable caught during the last call on the proxied object in the current thread.
caughtThrowable - Static variable in class com.googlecode.catchexception.throwable.internal.ThrowableHolder
The container for the most recently caught throwable.
cglibHacker - Variable in class com.googlecode.catchexception.internal.ExceptionProcessingInterceptor
We use this object to change the naming policy that is used by MethodProxy.helper(org.mockito.cglib.proxy.MethodProxy.CreateInfo, java.lang.Class).
cglibHacker - Variable in class com.googlecode.catchexception.throwable.internal.ThrowableProcessingInterceptor
We use this object to change the naming policy that is used by MethodProxy.helper(org.mockito.cglib.proxy.MethodProxy.CreateInfo, java.lang.Class).
clazz - Variable in class com.googlecode.catchexception.internal.AbstractExceptionProcessingInvocationHandler
clazz - Variable in class com.googlecode.catchexception.throwable.internal.AbstractThrowableProcessingInvocationHandler
com.googlecode.catchexception - package com.googlecode.catchexception
This public package contains the primary API to catch and verify exceptions.
com.googlecode.catchexception.apis - package com.googlecode.catchexception.apis
This public package contains alternative APIs to catch and verify exceptions.
com.googlecode.catchexception.apis.internal.hamcrest - package com.googlecode.catchexception.apis.internal.hamcrest
This private package provides matchers for CatchExceptionHamcrestMatchers.
com.googlecode.catchexception.internal - package com.googlecode.catchexception.internal
This private package provides everything that is needed to implement CatchException (the primary API).
com.googlecode.catchexception.throwable - package com.googlecode.catchexception.throwable
This public package contains the primary API to catch and verify throwables.
com.googlecode.catchexception.throwable.apis - package com.googlecode.catchexception.throwable.apis
This public package contains alternative APIs to catch and verify throwables.
com.googlecode.catchexception.throwable.apis.internal.hamcrest - package com.googlecode.catchexception.throwable.apis.internal.hamcrest
This private package provides matchers for com.googlecode.catchthrowable.apis.CatchThrowableHamcrestMatchers.
com.googlecode.catchexception.throwable.internal - package com.googlecode.catchexception.throwable.internal
This private package provides everything that is needed to implement com.googlecode.catchthrowable.CatchThrowable (the primary API).
CompatibilityAssertions - Class in org.assertj.core.api
 
CompatibilityAssertions() - Constructor for class org.assertj.core.api.CompatibilityAssertions
 
createProxy(Class<?>, MethodInterceptor) - Method in class com.googlecode.catchexception.internal.InterfaceOnlyProxyFactory
 
createProxy(Class<?>, MethodInterceptor) - Method in interface com.googlecode.catchexception.internal.ProxyFactory
Create a proxy.
createProxy(Class<?>, MethodInterceptor) - Method in class com.googlecode.catchexception.internal.SubclassProxyFactory
 
createProxy(Class<?>, MethodInterceptor) - Method in class com.googlecode.catchexception.throwable.internal.InterfaceOnlyProxyFactory
 
createProxy(Class<?>, MethodInterceptor) - Method in interface com.googlecode.catchexception.throwable.internal.ProxyFactory
Create a proxy.
createProxy(Class<?>, MethodInterceptor) - Method in class com.googlecode.catchexception.throwable.internal.SubclassProxyFactory
 

D

DelegatingInterceptor - Class in com.googlecode.catchexception.internal
This interceptor delegates the method call to the target object.
DelegatingInterceptor(Object) - Constructor for class com.googlecode.catchexception.internal.DelegatingInterceptor
 
DelegatingInterceptor - Class in com.googlecode.catchexception.throwable.internal
This interceptor delegates the method call to the target object.
DelegatingInterceptor(Object) - Constructor for class com.googlecode.catchexception.throwable.internal.DelegatingInterceptor
 
describeTo(Description) - Method in class com.googlecode.catchexception.apis.internal.hamcrest.ExceptionMessageMatcher
 
describeTo(Description) - Method in class com.googlecode.catchexception.apis.internal.hamcrest.ExceptionNoCauseMatcher
 
describeTo(Description) - Method in class com.googlecode.catchexception.throwable.apis.internal.hamcrest.ThrowableMessageMatcher
 
describeTo(Description) - Method in class com.googlecode.catchexception.throwable.apis.internal.hamcrest.ThrowableNoCauseMatcher
 

E

ExceptionHolder - Class in com.googlecode.catchexception.internal
Holds a caught exception per Thread.
ExceptionHolder() - Constructor for class com.googlecode.catchexception.internal.ExceptionHolder
 
ExceptionMessageMatcher<T extends Exception> - Class in com.googlecode.catchexception.apis.internal.hamcrest
Creates a matcher that matches an exception with a certain message.
ExceptionMessageMatcher(String) - Constructor for class com.googlecode.catchexception.apis.internal.hamcrest.ExceptionMessageMatcher
 
ExceptionMessageMatcher(Matcher<String>) - Constructor for class com.googlecode.catchexception.apis.internal.hamcrest.ExceptionMessageMatcher
 
ExceptionNoCauseMatcher<T extends Exception> - Class in com.googlecode.catchexception.apis.internal.hamcrest
Creates a matcher that matches an exception that has no cause.
ExceptionNoCauseMatcher() - Constructor for class com.googlecode.catchexception.apis.internal.hamcrest.ExceptionNoCauseMatcher
 
ExceptionNotThrownAssertionError - Error in com.googlecode.catchexception
Thrown if a method has not thrown an exception of the expected type.
ExceptionNotThrownAssertionError(Class<E>) - Constructor for error com.googlecode.catchexception.ExceptionNotThrownAssertionError
Use this constructor if neither an exception of the expected type nor another exception is thrown.
ExceptionNotThrownAssertionError(Class<E>, Exception) - Constructor for error com.googlecode.catchexception.ExceptionNotThrownAssertionError
Use this constructor if an exception of another than the expected type is thrown.
ExceptionProcessingInterceptor<E extends Exception> - Class in com.googlecode.catchexception.internal
This AbstractExceptionProcessingInvocationHandler implements MethodInterceptor for Mockito's cglib variant.
ExceptionProcessingInterceptor(Object, Class<E>, boolean) - Constructor for class com.googlecode.catchexception.internal.ExceptionProcessingInterceptor
 
expectedMessageMatcher - Variable in class com.googlecode.catchexception.apis.internal.hamcrest.ExceptionMessageMatcher
The string matcher that shall match exception message.
expectedMessageMatcher - Variable in class com.googlecode.catchexception.throwable.apis.internal.hamcrest.ThrowableMessageMatcher
The string matcher that shall match throwable message.

F

fallbackProxyFactory - Variable in class com.googlecode.catchexception.internal.SubclassProxyFactory
That proxy factory is used if this factory cannot be used.
fallbackProxyFactory - Variable in class com.googlecode.catchexception.throwable.internal.SubclassProxyFactory
That proxy factory is used if this factory cannot be used.

G

get() - Static method in class com.googlecode.catchexception.internal.ExceptionHolder
 
get() - Static method in class com.googlecode.catchexception.throwable.internal.ThrowableHolder
 

H

hasMessage(String) - Static method in class com.googlecode.catchexception.apis.CatchExceptionHamcrestMatchers
EXAMPLE:
assertThat(caughtException(), hasMessage("Index: 9, Size: 9"));
hasMessage(String) - Static method in class com.googlecode.catchexception.throwable.apis.CatchThrowableHamcrestMatchers
EXAMPLE:
assertThat(caughtThrowable(), hasMessage("Index: 9, Size: 9"));
hasMessageThat(Matcher<String>) - Static method in class com.googlecode.catchexception.apis.CatchExceptionHamcrestMatchers
EXAMPLES:
assertThat(caughtException(), hasMessageThat(is("Index: 9, Size: 9")));
assertThat(caughtException(), hasMessageThat(containsString("Index: 9"))); // using JUnitMatchers
assertThat(caughtException(), hasMessageThat(containsPattern("Index: \\d+"))); // using Mockito's Find
hasMessageThat(Matcher<String>) - Static method in class com.googlecode.catchexception.throwable.apis.CatchThrowableHamcrestMatchers
EXAMPLES:
assertThat(caughtThrowable(), hasMessageThat(is("Index: 9, Size: 9")));
assertThat(caughtThrowable(), hasMessageThat(containsString("Index: 9"))); // using JUnitMatchers
assertThat(caughtThrowable(), hasMessageThat(containsPattern("Index: \\d+"))); // using Mockito's Find
hasNoCause() - Static method in class com.googlecode.catchexception.apis.CatchExceptionHamcrestMatchers
EXAMPLE:
assertThat(caughtException(), hasNoCause());
hasNoCause() - Static method in class com.googlecode.catchexception.throwable.apis.CatchThrowableHamcrestMatchers
EXAMPLE:
assertThat(caughtThrowable(), hasNoCause());

I

intercept(Object, Method, Object[], MethodProxy) - Method in class com.googlecode.catchexception.internal.DelegatingInterceptor
 
intercept(Object, Method, Object[], MethodProxy) - Method in class com.googlecode.catchexception.internal.ExceptionProcessingInterceptor
 
intercept(Object, Method, Object[], MethodProxy) - Method in class com.googlecode.catchexception.throwable.internal.DelegatingInterceptor
 
intercept(Object, Method, Object[], MethodProxy) - Method in class com.googlecode.catchexception.throwable.internal.ThrowableProcessingInterceptor
 
InterfaceOnlyProxy - Interface in com.googlecode.catchexception.internal
Marks a proxy as generated by InterfaceOnlyProxyFactory.
InterfaceOnlyProxy - Interface in com.googlecode.catchexception.throwable.internal
Marks a proxy as generated by InterfaceOnlyProxyFactory.
InterfaceOnlyProxyFactory - Class in com.googlecode.catchexception.internal
This ProxyFactory create proxies that implements all interfaces of the underlying object including the marker interface InterfaceOnlyProxy.
InterfaceOnlyProxyFactory() - Constructor for class com.googlecode.catchexception.internal.InterfaceOnlyProxyFactory
 
InterfaceOnlyProxyFactory - Class in com.googlecode.catchexception.throwable.internal
This ProxyFactory create proxies that implements all interfaces of the underlying object including the marker interface InterfaceOnlyProxy.
InterfaceOnlyProxyFactory() - Constructor for class com.googlecode.catchexception.throwable.internal.InterfaceOnlyProxyFactory
 
interfaces(T) - Static method in class com.googlecode.catchexception.CatchException
Returns a proxy that implements all interfaces of the underlying object.
interfaces(T) - Static method in class com.googlecode.catchexception.throwable.CatchThrowable
Returns a proxy that implements all interfaces of the underlying object.
isTypeMockable(Class<?>) - Method in class com.googlecode.catchexception.internal.SubclassProxyFactory
 
isTypeMockable(Class<?>) - Method in class com.googlecode.catchexception.throwable.internal.SubclassProxyFactory
 

M

matches(Object) - Method in class com.googlecode.catchexception.apis.internal.hamcrest.ExceptionMessageMatcher
 
matches(Object) - Method in class com.googlecode.catchexception.apis.internal.hamcrest.ExceptionNoCauseMatcher
 
matches(Object) - Method in class com.googlecode.catchexception.throwable.apis.internal.hamcrest.ThrowableMessageMatcher
 
matches(Object) - Method in class com.googlecode.catchexception.throwable.apis.internal.hamcrest.ThrowableNoCauseMatcher
 

O

org.assertj.core.api - package org.assertj.core.api
 

P

processException(T, Class<E>, boolean) - Static method in class com.googlecode.catchexception.CatchException
Creates a proxy that processes exceptions thrown by the underlying object.
processThrowable(T, Class<E>, boolean) - Static method in class com.googlecode.catchexception.throwable.CatchThrowable
Creates a proxy that processes throwables thrown by the underlying object.
ProxyFactory - Interface in com.googlecode.catchexception.internal
Creates proxies.
ProxyFactory - Interface in com.googlecode.catchexception.throwable.internal
Creates proxies.

R

resetCaughtException() - Static method in class com.googlecode.catchexception.CatchException
Sets the caught exception to null.
resetCaughtThrowable() - Static method in class com.googlecode.catchexception.throwable.CatchThrowable
Sets the caught throwable to null.

S

safeReturnValue(Class<?>) - Method in class com.googlecode.catchexception.internal.AbstractExceptionProcessingInvocationHandler
 
safeReturnValue(Class<?>) - Method in class com.googlecode.catchexception.throwable.internal.AbstractThrowableProcessingInvocationHandler
 
serialVersionUID - Static variable in error com.googlecode.catchexception.ExceptionNotThrownAssertionError
serialVersionUID - Static variable in error com.googlecode.catchexception.throwable.ThrowableNotThrownAssertionError
set(E) - Static method in class com.googlecode.catchexception.internal.ExceptionHolder
Saves the given exception in ExceptionHolder.caughtException.
set(E) - Static method in class com.googlecode.catchexception.throwable.internal.ThrowableHolder
Saves the given throwable in ThrowableHolder.caughtThrowable.
SubclassProxy - Interface in com.googlecode.catchexception.internal
Marks a proxy as generated by SubclassProxyFactory.
SubclassProxy - Interface in com.googlecode.catchexception.throwable.internal
Marks a proxy as generated by SubclassProxyFactory.
SubclassProxyFactory - Class in com.googlecode.catchexception.internal
This ProxyFactory uses Mockito's jmock package to create proxies that subclass from the target's class.
SubclassProxyFactory() - Constructor for class com.googlecode.catchexception.internal.SubclassProxyFactory
 
SubclassProxyFactory - Class in com.googlecode.catchexception.throwable.internal
This ProxyFactory uses Mockito's jmock package to create proxies that subclass from the target's class.
SubclassProxyFactory() - Constructor for class com.googlecode.catchexception.throwable.internal.SubclassProxyFactory
 

T

target - Variable in class com.googlecode.catchexception.internal.AbstractExceptionProcessingInvocationHandler
target - Variable in class com.googlecode.catchexception.internal.DelegatingInterceptor
target - Variable in class com.googlecode.catchexception.throwable.internal.AbstractThrowableProcessingInvocationHandler
target - Variable in class com.googlecode.catchexception.throwable.internal.DelegatingInterceptor
then(Exception) - Static method in class com.googlecode.catchexception.apis.CatchExceptionAssertJ
Deprecated.
As of release 1.3.0, replaced by org.assertj.core.api.BDDAssertions#then(Throwable)
then(Exception) - Static method in class com.googlecode.catchexception.apis.CatchExceptionBdd
Deprecated.
Enables FEST Fluent Assertions 2.x about the caught exception.
then(Throwable) - Static method in class com.googlecode.catchexception.throwable.apis.CatchThrowableAssertJ
Deprecated.
As of release 1.3.0, replaced by org.assertj.core.api.BDDAssertions#then(java.lang.Throwable
then(Throwable) - Static method in class com.googlecode.catchexception.throwable.apis.CatchThrowableBdd
Deprecated.
Enables FEST Fluent Assertions 2.x about the caught throwable.
thenThrown(Class) - Static method in class com.googlecode.catchexception.apis.BDDCatchException
Throws an assertion if no exception is thrown or if an exception of an unexpected type is thrown.
thenThrown(Class) - Static method in class com.googlecode.catchexception.throwable.apis.BDDCatchThrowable
Throws an assertion if no throwable is thrown or if an throwable of an unexpected type is thrown.
ThrowableHolder - Class in com.googlecode.catchexception.throwable.internal
Holds a caught throwable per Thread.
ThrowableHolder() - Constructor for class com.googlecode.catchexception.throwable.internal.ThrowableHolder
 
ThrowableMessageMatcher<T extends Throwable> - Class in com.googlecode.catchexception.throwable.apis.internal.hamcrest
Creates a matcher that matches an throwable with a certain message.
ThrowableMessageMatcher(String) - Constructor for class com.googlecode.catchexception.throwable.apis.internal.hamcrest.ThrowableMessageMatcher
 
ThrowableMessageMatcher(Matcher<String>) - Constructor for class com.googlecode.catchexception.throwable.apis.internal.hamcrest.ThrowableMessageMatcher
 
ThrowableNoCauseMatcher<T extends Throwable> - Class in com.googlecode.catchexception.throwable.apis.internal.hamcrest
Creates a matcher that matches an throwable that has no cause.
ThrowableNoCauseMatcher() - Constructor for class com.googlecode.catchexception.throwable.apis.internal.hamcrest.ThrowableNoCauseMatcher
 
ThrowableNotThrownAssertionError - Error in com.googlecode.catchexception.throwable
Thrown if a method has not thrown an throwable of the expected type.
ThrowableNotThrownAssertionError(Class<E>) - Constructor for error com.googlecode.catchexception.throwable.ThrowableNotThrownAssertionError
Use this constructor if neither an throwable of the expected type nor another throwable is thrown.
ThrowableNotThrownAssertionError(Class<E>, Throwable) - Constructor for error com.googlecode.catchexception.throwable.ThrowableNotThrownAssertionError
Use this constructor if an throwable of another than the expected type is thrown.
ThrowableProcessingInterceptor<E extends Throwable> - Class in com.googlecode.catchexception.throwable.internal
This AbstractThrowableProcessingInvocationHandler implements MethodInterceptor for Mockito's cglib variant.
ThrowableProcessingInterceptor(Object, Class<E>, boolean) - Constructor for class com.googlecode.catchexception.throwable.internal.ThrowableProcessingInterceptor
 

V

verifyException(T) - Static method in class com.googlecode.catchexception.CatchException
Use it to verify that an exception is thrown and to get access to the thrown exception (for further verifications).
verifyException(T, Class<E>) - Static method in class com.googlecode.catchexception.CatchException
Use it to verify that an exception of specific type is thrown and to get access to the thrown exception (for further verifications).
verifyThrowable(T) - Static method in class com.googlecode.catchexception.throwable.CatchThrowable
Use it to verify that an throwable is thrown and to get access to the thrown throwable (for further verifications).
verifyThrowable(T, Class<E>) - Static method in class com.googlecode.catchexception.throwable.CatchThrowable
Use it to verify that an throwable of specific type is thrown and to get access to the thrown throwable (for further verifications).

W

when(T) - Static method in class com.googlecode.catchexception.apis.BDDCatchException
 
when(T) - Static method in class com.googlecode.catchexception.throwable.apis.BDDCatchThrowable
 
A B C D E F G H I M O P R S T V W 

Copyright © 2014. All rights reserved.