Merge "Issue #1526 improved exception handling per code review comments" into development
Former-commit-id:72021587e7
[formerly565fbd1630
] [formerly80a750a72a
] [formerlya23fa4a1ae
[formerly80a750a72a
[formerly bb9789c558f6abf2f75a146edc7a197784e3711b]]] Former-commit-id:a23fa4a1ae
Former-commit-id: 264f19cf2483ed87134297a74d668673d20b183c [formerly641ae0393a
] Former-commit-id:b9b92baa12
This commit is contained in:
commit
4d43c7518d
1 changed files with 2 additions and 2 deletions
|
@ -108,8 +108,8 @@ public class DynamicSerializeStreamEntity extends AbstractHttpEntity {
|
|||
DynamicSerializationManager.getManager(SerializationType.Thrift)
|
||||
.serialize(obj, os);
|
||||
} catch (SerializationException e) {
|
||||
throw new IOException("Error serializing " + obj.getClass()
|
||||
+ " to stream", e);
|
||||
throw new IOException("Error serializing "
|
||||
+ (obj != null ? obj.getClass() : null) + " to stream", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue