Yeah, I saw that. Problem is RuntimeExceptions are not catchable. You are basically limited by fromByteBuffer interface in Serializer class. It doesn't throw any exception.