public static ClientException adaptInputException(final Throwable cause){
  return new ClientException(ReturnCode.ERROR_USER_DATA,ERR_CONSOLE_INPUT_ERROR.get(cause.getMessage()),cause);
}

public static ClientException adaptInputException ( final Throwable cause ) { return new ClientException ( ReturnCode . ERROR_USER_DATA , ERR_CONSOLE_INPUT_ERROR . get ( cause . getMessage ( ) ) , cause ) ; }
adapts any exception that may have occurred whilst reading input from the console .
