protected String errorMessage(String input,Exception e){
  return String.format("Invalid parameter: %s (%s)",input,e.getMessage());
}

protected String errorMessage ( String input , Exception e ) { return String . format ( "Invalid parameter: %s (%s)" , input , e . getMessage ( ) ) ; }
given a string representation which was unable to be parsed and the exception thrown , produce an entity to be sent to the client .
