private void _decode(AsnInputStream ais, int length) throws MAPParsingComponentException, IOException, AsnException { this.data = ais.readIA5StringData(length); if (data == null) throw new MAPParsingComponentException("Error while decoding " + _PrimitiveName + ": bad String length: must be 4, found=0", MAPParsingComponentExceptionReason.MistypedParameter); if (data.length() != 4) throw new MAPParsingComponentException("Error while decoding " + _PrimitiveName + ": bad String length: must be 4, found=" + data.length(), MAPParsingComponentExceptionReason.MistypedParameter); }
public void decodeData(AsnInputStream ansIS, int length) throws MAPParsingComponentException { try { this._decode(ansIS, length); } catch (IOException e) { throw new MAPParsingComponentException("IOException when decoding MAPProviderAbortInfo: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } catch (AsnException e) { throw new MAPParsingComponentException("AsnException when decoding MAPProviderAbortInfo: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } }
public void decodeData(AsnInputStream ansIS, int length) throws MAPParsingComponentException { try { this._decode(ansIS, length); } catch (IOException e) { throw new MAPParsingComponentException("IOException when decoding MAPUserAbortInfo: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } catch (AsnException e) { throw new MAPParsingComponentException("AsnException when decoding MAPUserAbortInfo: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } }
protected void _decode(AsnInputStream ansIS, int length) throws MAPParsingComponentException, IOException, AsnException { if (!ansIS.isTagPrimitive()) throw new MAPParsingComponentException("Error decoding " + _PrimitiveName + ": field must be primitive", MAPParsingComponentExceptionReason.MistypedParameter); int minLen = (this.minLength - 1) / 8 + 2; int maxLen = (this.maxLength - 1) / 8 + 2; if (length < minLen || length > maxLen) throw new MAPParsingComponentException("Error decoding " + _PrimitiveName + ": the field must contain from " + minLen + " to " + maxLen + " octets. Contains: " + length, MAPParsingComponentExceptionReason.MistypedParameter); this.bitString = ansIS.readBitStringData(length); }
public void decodeData(AsnInputStream ansIS, int length) throws MAPParsingComponentException { try { this._decode(ansIS, length); } catch (IOException e) { throw new MAPParsingComponentException("IOException when decoding " + _PrimitiveName + ": " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } catch (AsnException e) { throw new MAPParsingComponentException("AsnException when decoding " + _PrimitiveName + ": " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } }
public void decodeData(AsnInputStream ansIS, int length) throws MAPParsingComponentException { try { this._decode(ansIS, length); } catch (IOException e) { throw new MAPParsingComponentException("IOException when decoding MAPErrorMessageUnknownSubscriberImpl: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } catch (AsnException e) { throw new MAPParsingComponentException("AsnException when decoding MAPErrorMessageUnknownSubscriberImpl: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } }
public void decodeData(AsnInputStream ansIS, int length) throws MAPParsingComponentException { try { this._decode(ansIS, length); } catch (IOException e) { throw new MAPParsingComponentException("IOException when decoding MAPOpenInfo: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } catch (AsnException e) { throw new MAPParsingComponentException("AsnException when decoding MAPOpenInfo: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } }
public void decodeData(AsnInputStream ansIS, int length) throws MAPParsingComponentException { try { this._decode(ansIS, length); } catch (IOException e) { throw new MAPParsingComponentException("IOException when decoding ProcessUnstructuredSSRequestIndication: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } catch (AsnException e) { throw new MAPParsingComponentException("AsnException when decoding ProcessUnstructuredSSRequestIndication: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } }
@Override public void decodeData(AsnInputStream ansIS, int length) throws MAPParsingComponentException { try { this._decode(ansIS, length); } catch (IOException e) { throw new MAPParsingComponentException("IOException when decoding " + _PrimitiveName + ": " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } catch (AsnException e) { throw new MAPParsingComponentException("AsnException when decoding " + _PrimitiveName + ": " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } }
public void decodeData(AsnInputStream ansIS, int length) throws MAPParsingComponentException { try { this._decode(ansIS, length); } catch (IOException e) { throw new MAPParsingComponentException("IOException when decoding " + _PrimitiveName + ": " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } catch (AsnException e) { throw new MAPParsingComponentException("AsnException when decoding " + _PrimitiveName + ": " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } }
public void decodeData(AsnInputStream ansIS, int length) throws MAPParsingComponentException { try { this._decode(ansIS, length); } catch (IOException e) { throw new MAPParsingComponentException("IOException when decoding MAPErrorMessageAbsentSubscriberSM: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } catch (AsnException e) { throw new MAPParsingComponentException("AsnException when decoding MAPErrorMessageAbsentSubscriberSM: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } }
public void decodeData(AsnInputStream ansIS, int length) throws MAPParsingComponentException { try { this._decode(ansIS, length); } catch (IOException e) { throw new MAPParsingComponentException("IOException when decoding MAPErrorMessageUnauthorizedLCSClient: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } catch (AsnException e) { throw new MAPParsingComponentException("AsnException when decoding MAPErrorMessageUnauthorizedLCSClient: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } }
public void decodeData(AsnInputStream ansIS, int length) throws MAPParsingComponentException { try { this._decode(ansIS, length); } catch (IOException e) { throw new MAPParsingComponentException("IOException when decoding UnstructuredSSRequestIndication: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } catch (AsnException e) { throw new MAPParsingComponentException("AsnException when decoding UnstructuredSSRequestIndication: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } }
public void decodeAll(AsnInputStream ansIS) throws MAPParsingComponentException { try { int length = ansIS.readLength(); this._decode(ansIS, length); } catch (IOException e) { throw new MAPParsingComponentException("IOException when decoding MAPProviderAbortInfo: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } catch (AsnException e) { throw new MAPParsingComponentException("AsnException when decoding MAPProviderAbortInfo: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } }
public void decodeAll(AsnInputStream ansIS) throws MAPParsingComponentException { try { int length = ansIS.readLength(); this._decode(ansIS, length); } catch (IOException e) { throw new MAPParsingComponentException("IOException when decoding " + _PrimitiveName + ": " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } catch (AsnException e) { throw new MAPParsingComponentException("AsnException when decoding " + _PrimitiveName + ": " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } }
public void decodeAll(AsnInputStream ansIS) throws MAPParsingComponentException { try { int length = ansIS.readLength(); this._decode(ansIS, length); } catch (IOException e) { throw new MAPParsingComponentException("IOException when decoding MAPErrorMessageUnknownSubscriberImpl: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } catch (AsnException e) { throw new MAPParsingComponentException("AsnException when decoding MAPErrorMessageUnknownSubscriberImpl: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } }
public void decodeAll(AsnInputStream ansIS) throws MAPParsingComponentException { try { int length = ansIS.readLength(); this._decode(ansIS, length); } catch (IOException e) { throw new MAPParsingComponentException("IOException when decoding MAPCloseInfo: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } catch (AsnException e) { throw new MAPParsingComponentException("AsnException when decoding MAPCloseInfo: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } }
public void decodeAll(AsnInputStream ansIS) throws MAPParsingComponentException { try { int length = ansIS.readLength(); this._decode(ansIS, length); } catch (IOException e) { throw new MAPParsingComponentException("IOException when decoding UnstructuredSSNotifyIndication: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } catch (AsnException e) { throw new MAPParsingComponentException("AsnException when decoding UnstructuredSSNotifyIndication: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } }
public void decodeAll(AsnInputStream ansIS) throws MAPParsingComponentException { try { int length = ansIS.readLength(); this._decode(ansIS, length); } catch (IOException e) { throw new MAPParsingComponentException("IOException when decoding MAPErrorMessageAbsentSubscriberSM: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } catch (AsnException e) { throw new MAPParsingComponentException("AsnException when decoding MAPErrorMessageAbsentSubscriberSM: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } }
public void decodeAll(AsnInputStream ansIS) throws MAPParsingComponentException { try { int length = ansIS.readLength(); this._decode(ansIS, length); } catch (IOException e) { throw new MAPParsingComponentException("IOException when decoding MAPErrorMessageUnauthorizedLCSClient: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } catch (AsnException e) { throw new MAPParsingComponentException("AsnException when decoding MAPErrorMessageUnauthorizedLCSClient: " + e.getMessage(), e, MAPParsingComponentExceptionReason.MistypedParameter); } }