Class PBParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- edu.stanford.slac.archiverappliance.PB.data.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 Summary
Constructors Constructor Description PBParseException(byte[] databytes, Exception ex)
PBParseException(Exception ex)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-