code: protected Class<? extends Throwable> resolveThrowableClass(String typeName) throws ClassNotFoundException {
  		Class<?> clazz;
  		try {
  			clazz = Class.forName(typeName);
  			if (!Throwable.class.isAssignableFrom(clazz)) {
  				logger.warn("Type does not inherit from Throwable {}", clazz.getName());
  			} else {
  				return clazz.asSubclass(Throwable.class);
  			}
  		} catch(ClassNotFoundException e) {
  			logger.warn("Unable to load Throwable class {}", typeName);
  			throw e;
  		} catch(Exception e) {
  			logger.warn("Unable to load Throwable class {}", typeName);
  		}
  		return null;
  	}
docs: Resolves original exception type name into an actual {@link Class}.
  Override this, if you want custom behaviour for handling exceptions,
  i.e.: Default to RuntimeException.
  
  @param typeName Original exception type name thrown on the server.
  @return the resolved throwable
  @throws ClassNotFoundException - if throwable class has not been found