docs: public static SerializableException deserializeFromBuffer(ByteBuffer b) {
          final int length = b.getInt();
          if (length == 0) {
              return null;
          }
          final int ordinal = b.get();
          assert (ordinal != SerializableExceptions.None.ordinal());
          return SerializableExceptions.values()[ordinal].deserializeException(b);
      }