code: public static Serializable deserialize(byte[] bytes, String errorMessage) {
      try {
        return deserialize(bytes);
      } catch (Exception e) {
        throw new RuntimeException(errorMessage, e);
      }
    }
docs: Wrapper around {@link #deserialize(Object)} which throws a runtime exception with the given
  message on failure.
  
  @param bytes the byte array the deserialize
  @param errorMessage the message to show if deserialization fails
  @return the deserialized object