private static Class<? extends Throwable> getSubstitute(ExceptionProcessor exceptionProcessor) {
		Class substitute = exceptionProcessor.substitute();
		if (null != substitute) {
			return substitute;
		} else {
			logger.error("You need to set the substitute exception.");
			return null; 
		}
	}