public interface Asn1BerExceptionHandler
| Modifier and Type | Method and Description | 
|---|---|
java.lang.RuntimeException | 
handleException(Asn1Exception e,
               Asn1BerDecodeBuffer buffer)
This method is invoked by generated code before throwing certain
 exceptions. 
 | 
java.lang.RuntimeException handleException(Asn1Exception e, Asn1BerDecodeBuffer buffer)
Asn1InvalidEnumExceptionAsn1MissingRequiredException: No corrective action is required.
 Simply return null to ignore the exception.
 Asn1InvalidChoiceOptionException
 Asn1NotInSetExceptionAsn1SeqOrderExceptionAsn1SetDuplicateExceptionAsn1UnexpectedElementException:
 If returning null, you must consume the current TLV from the input.
 e - The exception the caller wishes to throw, indicating what error
        occurred.buffer - The decode buffer.