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 .