Home
last modified time | relevance | path

Searched refs:UnsupportedEncodingException (Results 1 – 25 of 79) sorted by relevance

1234

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DUTF16CharsetDecoderTest.java19 import java.io.UnsupportedEncodingException;
70 throws CharacterCodingException, UnsupportedEncodingException { in testLittleEndianByteBufferCharBuffer()
77 throws CharacterCodingException, UnsupportedEncodingException { in testLittleEndianReadOnlyByteBufferCharBuffer()
84 UnsupportedEncodingException { in testLittleEndian()
98 ByteBuffer getUnmappedByteBuffer() throws UnsupportedEncodingException { in getUnmappedByteBuffer()
102 ByteBuffer getMalformedByteBuffer() throws UnsupportedEncodingException { in getMalformedByteBuffer()
115 ByteBuffer getExceptionByteArray() throws UnsupportedEncodingException { in getExceptionByteArray()
DISOCharsetDecoderTest.java19 import java.io.UnsupportedEncodingException;
46 ByteBuffer getUnmappedByteBuffer() throws UnsupportedEncodingException { in getUnmappedByteBuffer()
52 ByteBuffer getMalformedByteBuffer() throws UnsupportedEncodingException { in getMalformedByteBuffer()
57 ByteBuffer getExceptionByteArray() throws UnsupportedEncodingException { in getExceptionByteArray()
DUTF16BECharsetDecoderTest.java19 import java.io.UnsupportedEncodingException;
48 ByteBuffer getUnmappedByteBuffer() throws UnsupportedEncodingException { in getUnmappedByteBuffer()
53 ByteBuffer getMalformedByteBuffer() throws UnsupportedEncodingException { in getMalformedByteBuffer()
64 ByteBuffer getExceptionByteArray() throws UnsupportedEncodingException { in getExceptionByteArray()
DUTF16LECharsetDecoderTest.java19 import java.io.UnsupportedEncodingException;
48 ByteBuffer getUnmappedByteBuffer() throws UnsupportedEncodingException { in getUnmappedByteBuffer()
53 ByteBuffer getMalformedByteBuffer() throws UnsupportedEncodingException { in getMalformedByteBuffer()
64 ByteBuffer getExceptionByteArray() throws UnsupportedEncodingException { in getExceptionByteArray()
DGBCharsetDecoderTest.java19 import java.io.UnsupportedEncodingException;
48 ByteBuffer getUnmappedByteBuffer() throws UnsupportedEncodingException { in getUnmappedByteBuffer()
52 ByteBuffer getMalformedByteBuffer() throws UnsupportedEncodingException { in getMalformedByteBuffer()
60 ByteBuffer getExceptionByteArray() throws UnsupportedEncodingException { in getExceptionByteArray()
DUTFCharsetDecoderTest.java19 import java.io.UnsupportedEncodingException;
48 ByteBuffer getUnmappedByteBuffer() throws UnsupportedEncodingException { in getUnmappedByteBuffer()
52 ByteBuffer getMalformedByteBuffer() throws UnsupportedEncodingException { in getMalformedByteBuffer()
60 ByteBuffer getExceptionByteArray() throws UnsupportedEncodingException { in getExceptionByteArray()
DCharsetDecoderTest.java18 import java.io.UnsupportedEncodingException;
238 throws CharacterCodingException, UnsupportedEncodingException { in testDecodeByteBufferException()
382 throws CharacterCodingException, UnsupportedEncodingException { in testDecodeCharBufferByteBufferUnmappedException()
388 throws CharacterCodingException, UnsupportedEncodingException { in testDecodeCharBufferByteIncompleteBufferUnmappedException()
394 throws CharacterCodingException, UnsupportedEncodingException { in testDecodeCharBufferByteReadOnlyBufferUnmappedException()
400 throws CharacterCodingException, UnsupportedEncodingException { in testDecodeCharBufferByteReadOnlyIncompleteBufferUnmappedException()
407 UnsupportedEncodingException { in implTestDecodeCharBufferByteBufferUnmappedException()
435 throws CharacterCodingException, UnsupportedEncodingException { in testDecodeCharBufferByteBufferMalformedException()
441 throws CharacterCodingException, UnsupportedEncodingException { in testDecodeCharBufferByteIncompleteBufferMalformedException()
448 throws CharacterCodingException, UnsupportedEncodingException { in testDecodeCharBufferByteReadOnlyBufferMalformedException()
[all …]
DUTF8CharsetTest.java19 import java.io.UnsupportedEncodingException;
56 public void test_surrogate() throws UnsupportedEncodingException { in test_surrogate()
DASCCharsetDecoderTest.java19 import java.io.UnsupportedEncodingException;
68 ByteBuffer getExceptionByteArray() throws UnsupportedEncodingException { in getExceptionByteArray()
/libcore/ojluni/src/main/java/java/io/
DUnsupportedEncodingException.java33 public class UnsupportedEncodingException class
42 public UnsupportedEncodingException() { in UnsupportedEncodingException() method in UnsupportedEncodingException
50 public UnsupportedEncodingException(String s) { in UnsupportedEncodingException() method in UnsupportedEncodingException
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DUnsupportedEncodingExceptionTest.java22 import java.io.UnsupportedEncodingException;
33 } catch (UnsupportedEncodingException e) { in test_Constructor()
48 } catch (UnsupportedEncodingException e) { in test_ConstructorLjava_lang_String()
DSequenceInputStreamTest.java24 import java.io.UnsupportedEncodingException;
49 … public void test_Constructor_LInputStreamLInputStream_Null() throws UnsupportedEncodingException { in test_Constructor_LInputStreamLInputStream_Null()
73 public StreamEnumerator() throws UnsupportedEncodingException { in test_ConstructorLjava_util_Enumeration()
182 protected void setUp() throws UnsupportedEncodingException { in setUp()
DLineNumberInputStreamTest.java23 import java.io.UnsupportedEncodingException;
102 public void test_read$BII() throws IOException, UnsupportedEncodingException { in test_read$BII()
153 protected void setUp() throws UnsupportedEncodingException { in setUp()
DStringBufferInputStreamTest.java21 import java.io.UnsupportedEncodingException;
47 public void test_read() throws UnsupportedEncodingException { in test_read()
/libcore/luni/src/test/java/libcore/java/io/
DUnsupportedEncodingExceptionTest.java21 import java.io.UnsupportedEncodingException;
32 UnsupportedEncodingException exception = new UnsupportedEncodingException(); in testEmptyConstructor()
DOldOutputStreamWriterTest.java25 import java.io.UnsupportedEncodingException;
81 throws UnsupportedEncodingException { in test_ConstructorLjava_io_OutputStreamLjava_lang_String()
100 } catch (UnsupportedEncodingException e) { in test_ConstructorLjava_io_OutputStreamLjava_lang_String()
107 } catch (UnsupportedEncodingException e) { in test_ConstructorLjava_io_OutputStreamLjava_lang_String()
113 } catch (UnsupportedEncodingException e) { in test_ConstructorLjava_io_OutputStreamLjava_lang_String()
237 } catch (UnsupportedEncodingException e) { in test_close()
585 } catch (UnsupportedEncodingException e) { in openInputStream()
/libcore/ojluni/src/main/java/java/util/logging/
DHandler.java29 import java.io.UnsupportedEncodingException;
150 throws SecurityException, java.io.UnsupportedEncodingException { in setEncoding()
155 throw new UnsupportedEncodingException(encoding); in setEncoding()
158 throw new UnsupportedEncodingException(encoding); in setEncoding()
/libcore/ojluni/src/main/java/java/net/
DURLDecoder.java106 } catch (UnsupportedEncodingException e) { in decode()
136 public static String decode(String s, String enc) throws UnsupportedEncodingException { in decode()
138 throw new UnsupportedEncodingException ("URLDecoder: empty string enc parameter"); in decode()
145 throw new UnsupportedEncodingException(enc); in decode()
DURLEncoder.java28 import java.io.UnsupportedEncodingException;
163 } catch (UnsupportedEncodingException e) { in encode()
189 throws UnsupportedEncodingException { in encode()
198 throw new UnsupportedEncodingException(enc); in encode()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLEncoderTest.java20 import java.io.UnsupportedEncodingException;
55 } catch (UnsupportedEncodingException e) { in test_encodeLjava_lang_StringLjava_lang_String()
64 } catch (UnsupportedEncodingException expected) { in test_encodeLjava_lang_StringLjava_lang_String()
/libcore/luni/src/test/java/libcore/java/net/
DUrlEncodingTest.java19 import java.io.UnsupportedEncodingException;
121 } catch (UnsupportedEncodingException expected) { in testUrlDecoderFailsOnEmptyCharset()
139 } catch (UnsupportedEncodingException expected) { in testUrlEncoderFailsOnEmptyCharset()
151 } catch (UnsupportedEncodingException expected) { in testUrlDecoderIgnoresUnnecessaryCharset()
160 } catch (UnsupportedEncodingException expected) { in testUrlEncoderFailsOnInvalidCharset()
/libcore/ojluni/src/test/java/net/URLDecoder/
DURLDecoderArgs.java32 import java.io.UnsupportedEncodingException;
52 } catch (UnsupportedEncodingException ee) { in testDecodeEmpty()
/libcore/ojluni/src/test/java/net/URLEncoder/
DURLEncoderEncodeArgs.java32 import java.io.UnsupportedEncodingException;
52 } catch (UnsupportedEncodingException ee) { in testEncodeEmpty()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURLDecoderTest.java20 import java.io.UnsupportedEncodingException;
60 } catch (UnsupportedEncodingException e) { in test_decodeLjava_lang_String_Ljava_lang_String()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStorePrivateKeyEntryTest.java21 import java.io.UnsupportedEncodingException;
57 } catch (UnsupportedEncodingException e) { in testGetCertificateChain()

1234