Lines Matching defs:CodingException

362     private static class CodingException extends Exception {
363 public CodingException(String s) {
523 throws CodingException
534 throw new CodingException("cannot ASCII encode (" + msg.charAt(i) + ")");
542 throw new CodingException("7bit ASCII encode failed: " + ex);
547 throws CodingException
552 throw new CodingException("UTF-16 encode failed: " + ex);
562 throws CodingException
588 throw new CodingException("7bit GSM encode failed: " + ex);
593 throws CodingException
607 throws CodingException
623 throws CodingException
632 throw new CodingException("unsupported EMS user data encoding (" +
638 } catch (CodingException ex) {
644 private static byte[] encodeShiftJis(String msg) throws CodingException {
648 throw new CodingException("Shift-JIS encode failed: " + ex);
653 throws CodingException
693 throw new CodingException("unsupported user data encoding (" +
701 } catch (CodingException ex) {
711 throws BitwiseOutputStream.AccessException, CodingException
722 throw new CodingException("encoded user data too large (" +
789 private static void encodeCdmaSmsAddress(CdmaSmsAddress addr) throws CodingException {
794 throw new CodingException("invalid SMS address, cannot convert to ASCII");
802 throws BitwiseOutputStream.AccessException, CodingException
970 } catch (CodingException ex) {
1001 throws BitwiseInputStream.AccessException, CodingException
1013 throw new CodingException("RESERVED bearer data subparameter " + subparamId
1042 throws CodingException
1048 throws CodingException
1057 String charset) throws CodingException
1064 throw new CodingException(charset + " decode failed: offset out of range");
1074 throw new CodingException(charset + " decode failed: " + ex);
1079 throws CodingException
1087 throw new CodingException("insufficient data (wanted " + wantedBits +
1107 throw new CodingException("7bit ASCII decode failed: " + ex);
1112 throws CodingException
1122 throw new CodingException("7bit GSM decoding failed");
1128 throws CodingException
1134 throws CodingException
1140 throws CodingException
1194 throw new CodingException("unsupported user data encoding ("
1214 throws BitwiseInputStream.AccessException, CodingException
1220 throw new CodingException("IS-91 voicemail status decoding failed");
1235 throw new CodingException("IS-91 voicemail status decoding failed: " +
1241 throw new CodingException("IS-91 voicemail status decoding failed: " + ex);
1243 throw new CodingException("IS-91 voicemail status decoding failed: " + ex);
1257 throws BitwiseInputStream.AccessException, CodingException
1264 throw new CodingException("IS-91 short message decoding failed");
1281 private static void decodeIs91Cli(BearerData bData) throws CodingException {
1286 throw new CodingException("IS-91 voicemail status decoding failed");
1297 throws BitwiseInputStream.AccessException, CodingException
1311 throw new CodingException("unsupported IS-91 message type (" +
1378 throws CodingException
1389 else throw new CodingException("invalid SMS address DTMF code (" + val + ")");
1394 private static void decodeSmsAddress(CdmaSmsAddress addr) throws CodingException {
1401 throw new CodingException("invalid SMS address ASCII code");
1409 throws BitwiseInputStream.AccessException, CodingException
1433 throw new CodingException("CALLBACK_NUMBER subparam encoding size error (" +
1688 BitwiseInputStream inStream) throws BitwiseInputStream.AccessException, CodingException
1691 throw new CodingException("SERVICE_CATEGORY_PROGRAM_DATA decode failed: only "
1700 throw new CodingException("SERVICE_CATEGORY_PROGRAM_DATA decode failed: only "
1719 throw new CodingException("category name is " + textBits + " bits in length,"
1778 * @throws CodingException if the specified encoding is not supported
1781 throws CodingException {
1799 throw new CodingException("unsupported message encoding (" + msgEncoding + ')');
1810 throws BitwiseInputStream.AccessException, CodingException {
1813 throw new CodingException("emergency CB with no CMAE_protocol_version");
1817 throw new CodingException("unsupported CMAE_protocol_version " + protocolVersion);
1925 throw new CodingException("illegal duplicate subparameter (" +
1997 throw new CodingException("missing MESSAGE_IDENTIFIER subparam");
2018 } catch (CodingException ex) {