private static boolean isMatch(Throwable e, Class<? extends Throwable> exceptionClass) {
		Class<? extends Throwable> thrownClass = e.getClass();
		if (exceptionClass.isAssignableFrom(thrownClass) || exceptionClass.equals(thrownClass)) {
			return true;
		}
		return false;
	}