docs: private static Throwable getLastArgumentIfThrowable(Object... arguments) {
  		if (ArrayUtil.isNotEmpty(arguments) && arguments[arguments.length - 1] instanceof Throwable) {
  			return (Throwable) arguments[arguments.length - 1];
  		} else {
  			return null;
  		}
  	}