public Descriptor withExceptionSerializer ( ExceptionSerializer exceptionSerializer ) { return new Descriptor ( name , calls , pathParamSerializers , messageSerializers , serializerFactory , exceptionSerializer , autoAcl , acls , headerFilter , locatableService , circuitBreaker , topicCalls ) ; }
Use the given exception serializer to serialize and deserialized exceptions handled by this service .