Home
last modified time | relevance | path

Searched refs:UnsupportedCharsetException (Results 1 – 18 of 18) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DUnsupportedCharsetExceptionTest.java20 import java.nio.charset.UnsupportedCharsetException;
33 UnsupportedCharsetException ex = new UnsupportedCharsetException( in testConstructor()
40 ex = new UnsupportedCharsetException("ascii"); in testConstructor()
45 ex = new UnsupportedCharsetException(""); in testConstructor()
50 ex = new UnsupportedCharsetException(null); in testConstructor()
68 UnsupportedCharsetException initEx = (UnsupportedCharsetException) initial;
69 UnsupportedCharsetException desrEx = (UnsupportedCharsetException) deserialized;
81 SerializationTest.verifySelf(new UnsupportedCharsetException( in testSerializationSelf()
90 SerializationTest.verifyGolden(this, new UnsupportedCharsetException( in testSerializationCompatibility()
DCharsetTest.java28 import java.nio.charset.UnsupportedCharsetException;
381 } catch (UnsupportedCharsetException expected) { in testForName_NotSupported()
853 } catch (UnsupportedCharsetException expected) { in testForName_withProviderWithRecursiveCall()
DCharsetEncoderTest.java29 import java.nio.charset.UnsupportedCharsetException;
560 } catch (UnsupportedCharsetException e) { in testCharset()
/libcore/ojluni/src/main/java/java/nio/charset/
DUnsupportedCharsetException.java40 public class UnsupportedCharsetException class
58 public UnsupportedCharsetException(String charsetName) { in UnsupportedCharsetException() method in UnsupportedCharsetException
Dexceptions49 gen UnsupportedCharsetException "
DCharset.java563 throw new UnsupportedCharsetException(charsetName);
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLEncoderTest.java23 import java.nio.charset.UnsupportedCharsetException;
56 } catch (UnsupportedCharsetException e) { in test_encodeLjava_lang_StringLjava_lang_String()
/libcore/ojluni/src/main/java/java/net/
DURLDecoder.java32 import java.nio.charset.UnsupportedCharsetException;
144 } catch (IllegalCharsetNameException | UnsupportedCharsetException e) { in decode()
DURLEncoder.java32 import java.nio.charset.UnsupportedCharsetException ;
197 } catch (IllegalCharsetNameException | UnsupportedCharsetException e) { in encode()
/libcore/luni/src/test/java/libcore/java/net/
DUrlEncodingTest.java25 import java.nio.charset.UnsupportedCharsetException;
159 } catch (UnsupportedCharsetException expected) { in testUrlEncoderFailsOnInvalidCharset()
/libcore/ojluni/src/main/java/java/io/
DPrintWriter.java33 import java.nio.charset.UnsupportedCharsetException;
87 } catch (IllegalCharsetNameException|UnsupportedCharsetException unused) { in toCharset()
DPrintStream.java33 import java.nio.charset.UnsupportedCharsetException;
104 } catch (IllegalCharsetNameException|UnsupportedCharsetException unused) { in toCharset()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DChannelsTest.java37 import java.nio.charset.UnsupportedCharsetException;
370 } catch (UnsupportedCharsetException e) { in testnewReaderCharsetError()
382 } catch (UnsupportedCharsetException e) { in testnewWriterCharsetError()
/libcore/ojluni/src/main/java/java/nio/channels/
DChannels.java40 import java.nio.charset.UnsupportedCharsetException;
/libcore/ojluni/src/main/java/java/util/
DScanner.java614 } catch (IllegalCharsetNameException|UnsupportedCharsetException e) { in toCharset()
696 } catch (IllegalCharsetNameException|UnsupportedCharsetException unused) { in toDecoder()
DFormatter.java53 import java.nio.charset.UnsupportedCharsetException;
1961 } catch (IllegalCharsetNameException|UnsupportedCharsetException unused) { in toCharset()
/libcore/
Dopenjdk_java_files.bp466 "ojluni/src/main/java/java/nio/charset/UnsupportedCharsetException.java",
/libcore/api/
Dcurrent.txt7214 public class UnsupportedCharsetException extends java.lang.IllegalArgumentException {
7215 ctor public UnsupportedCharsetException(String);