java: fixes MessagePack.unpack method

This commit is contained in:
frsyuki 2010-10-25 14:49:14 +09:00
parent 59610e81de
commit 2af7df5865

View File

@ -56,7 +56,7 @@ public class MessagePack {
}
public static MessagePackObject unpack(byte[] buffer) throws IOException {
public static MessagePackObject unpack(byte[] buffer) throws MessageTypeException {
Unpacker pac = new Unpacker();
pac.wrap(buffer);
try {