Merge branch 'master' of git@github.com:msgpack/msgpack

This commit is contained in:
Muga Nishizawa
2011-04-05 03:35:08 +09:00

View File

@@ -43,7 +43,7 @@ public class DefaultTemplate implements Template {
public void pack(Packer pk, Object target) throws IOException {
if(messagePackable) {
if(target == null) {
throw new MessageTypeException("target is null: " + target.getClass().getName());
throw new MessageTypeException("target is null.");
}
((MessagePackable)target).messagePack(pk);
return;