Home
last modified time | relevance | path

Searched refs:DecoderException (Results 1 – 23 of 23) sorted by relevance

/external/apache-http/src/org/apache/commons/codec/net/
DRFC1522Codec.java21 import org.apache.commons.codec.DecoderException;
101 throws DecoderException, UnsupportedEncodingException in decodeText()
107 throw new DecoderException("RFC 1522 violation: malformed encoded content"); in decodeText()
113 throw new DecoderException("RFC 1522 violation: charset token not found"); in decodeText()
117 throw new DecoderException("RFC 1522 violation: charset not specified"); in decodeText()
122 throw new DecoderException("RFC 1522 violation: encoding token not found"); in decodeText()
126 throw new DecoderException("This codec cannot decode " + in decodeText()
165 protected abstract byte[] doDecoding(byte[] bytes) throws DecoderException; in doDecoding()
DQuotedPrintableCodec.java24 import org.apache.commons.codec.DecoderException;
178 public static final byte[] decodeQuotedPrintable(byte[] bytes) throws DecoderException { in decodeQuotedPrintable()
190 throw new DecoderException("Invalid quoted-printable encoding"); in decodeQuotedPrintable()
194 throw new DecoderException("Invalid quoted-printable encoding"); in decodeQuotedPrintable()
234 public byte[] decode(byte[] bytes) throws DecoderException { in decode()
280 …public String decode(String pString, String charset) throws DecoderException, UnsupportedEncodingE… in decode()
300 public String decode(String pString) throws DecoderException { in decode()
307 throw new DecoderException(e.getMessage()); in decode()
346 public Object decode(Object pObject) throws DecoderException { in decode()
354 throw new DecoderException("Objects of type " in decode()
DURLCodec.java25 import org.apache.commons.codec.DecoderException;
160 throws DecoderException in decodeUrl()
175 throw new DecoderException("Invalid URL encoding"); in decodeUrl()
179 throw new DecoderException("Invalid URL encoding"); in decodeUrl()
210 public byte[] decode(byte[] bytes) throws DecoderException { in decode()
270 throws DecoderException, UnsupportedEncodingException in decode()
290 public String decode(String pString) throws DecoderException { in decode()
297 throw new DecoderException(e.getMessage()); in decode()
335 public Object decode(Object pObject) throws DecoderException { in decode()
343 throw new DecoderException("Objects of type " + in decode()
DBCodec.java20 import org.apache.commons.codec.DecoderException;
88 protected byte[] doDecoding(byte[] bytes) throws DecoderException { in doDecoding()
147 public String decode(String value) throws DecoderException { in decode()
154 throw new DecoderException(e.getMessage()); in decode()
192 public Object decode(Object value) throws DecoderException { in decode()
198 throw new DecoderException("Objects of type " in decode()
DQCodec.java22 import org.apache.commons.codec.DecoderException;
152 protected byte[] doDecoding(byte[] bytes) throws DecoderException { in doDecoding()
230 public String decode(String pString) throws DecoderException { in decode()
237 throw new DecoderException(e.getMessage()); in decode()
275 public Object decode(Object pObject) throws DecoderException { in decode()
281 throw new DecoderException("Objects of type " in decode()
/external/apache-http/src/org/apache/commons/codec/binary/
DHex.java21 import org.apache.commons.codec.DecoderException;
59 public static byte[] decodeHex(char[] data) throws DecoderException { in decodeHex()
64 throw new DecoderException("Odd number of characters."); in decodeHex()
89 protected static int toDigit(char ch, int index) throws DecoderException { in toDigit()
92 throw new DecoderException("Illegal hexadecimal charcter " + ch + " at index " + index); in toDigit()
135 public byte[] decode(byte[] array) throws DecoderException { in decode()
153 public Object decode(Object object) throws DecoderException { in decode()
158 throw new DecoderException(e.getMessage()); in decode()
DBinaryCodec.java21 import org.apache.commons.codec.DecoderException;
116 public Object decode(Object ascii) throws DecoderException { in decode()
129 throw new DecoderException("argument not a byte array"); in decode()
DBase64.java21 import org.apache.commons.codec.DecoderException;
210 public Object decode(Object pObject) throws DecoderException { in decode()
212 throw new DecoderException("Parameter supplied to Base64 decode is not a byte[]"); in decode()
/external/sl4a/Common/src/org/apache/commons/codec/
DDecoderException.java25 public class DecoderException extends Exception { class
40 public DecoderException() { in DecoderException() method in DecoderException
51 public DecoderException(String message) { in DecoderException() method in DecoderException
70 public DecoderException(String message, Throwable cause) { in DecoderException() method in DecoderException
84 public DecoderException(Throwable cause) { in DecoderException() method in DecoderException
DBinaryDecoder.java39 byte[] decode(byte[] pArray) throws DecoderException; in decode()
DDecoder.java52 Object decode(Object pObject) throws DecoderException; in decode()
/external/apache-http/src/org/apache/commons/codec/
DDecoderException.java30 public class DecoderException extends Exception { class
37 public DecoderException(String pMessage) { in DecoderException() method in DecoderException
DBinaryDecoder.java44 byte[] decode(byte[] pArray) throws DecoderException; in decode()
DDecoder.java57 Object decode(Object pObject) throws DecoderException; in decode()
DStringDecoder.java42 String decode(String pString) throws DecoderException; in decode()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
DBase64.java112 throw new DecoderException("unable to decode base64 data: " + e.getMessage(), e); in decode()
135 throw new DecoderException("unable to decode base64 string: " + e.getMessage(), e); in decode()
171 throw new DecoderException("unable to decode base64 data: " + e.getMessage(), e); in decode()
DDecoderException.java6 public class DecoderException class
11 DecoderException(String msg, Throwable cause) in DecoderException() method in DecoderException
DHex.java110 throw new DecoderException("exception decoding Hex data: " + e.getMessage(), e); in decode()
132 throw new DecoderException("exception decoding Hex string: " + e.getMessage(), e); in decode()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/encoders/
DBase64.java114 throw new DecoderException("unable to decode base64 data: " + e.getMessage(), e); in decode()
137 throw new DecoderException("unable to decode base64 string: " + e.getMessage(), e); in decode()
173 throw new DecoderException("unable to decode base64 data: " + e.getMessage(), e); in decode()
DDecoderException.java8 public class DecoderException class
13 DecoderException(String msg, Throwable cause) in DecoderException() method in DecoderException
DHex.java112 throw new DecoderException("exception decoding Hex data: " + e.getMessage(), e); in decode()
134 throw new DecoderException("exception decoding Hex string: " + e.getMessage(), e); in decode()
/external/sl4a/Common/src/org/apache/commons/codec/binary/
DBase64Codec.java24 import org.apache.commons.codec.DecoderException;
703 public Object decode(Object pObject) throws DecoderException { in decode()
709 … throw new DecoderException("Parameter supplied to Base64 decode is not a byte[] or a String"); in decode()
/external/apache-http/api/
Dcurrent.txt399 … method @Deprecated public byte[] decode(byte[]) throws org.apache.commons.codec.DecoderException;
407 … method @Deprecated public Object decode(Object) throws org.apache.commons.codec.DecoderException;
410 @Deprecated public class DecoderException extends java.lang.Exception {
411 ctor @Deprecated public DecoderException(String);
423 … method @Deprecated public String decode(String) throws org.apache.commons.codec.DecoderException;
442 … method @Deprecated public Object decode(Object) throws org.apache.commons.codec.DecoderException;
455 … method @Deprecated public Object decode(Object) throws org.apache.commons.codec.DecoderException;
469 … method @Deprecated public byte[] decode(byte[]) throws org.apache.commons.codec.DecoderException;
470 … method @Deprecated public Object decode(Object) throws org.apache.commons.codec.DecoderException;
471 …Deprecated public static byte[] decodeHex(char[]) throws org.apache.commons.codec.DecoderException;
[all …]