Class PBParseException

  • All Implemented Interfaces:
    Serializable

    public class PBParseException
    extends RuntimeException
    We convert PB exceptions into a runtime exception to minimize the number of IOExceptions in the method declarations. We do want to avoid unmarshalling on construction; however, this forces us to unmarshal ( if needed ) on the gets.
    Author:
    mshankar
    See Also:
    Serialized Form
    • Constructor Detail

      • PBParseException

        public PBParseException​(Exception ex)
      • PBParseException

        public PBParseException​(byte[] databytes,
                                Exception ex)