Searched refs:throwException (Results 1 - 25 of 44) sorted by relevance

12

/openjdk7/jdk/test/java/util/Currency/
H A DBug6807534.java42 throwException("NPE was not thrown with null currencyCode");
48 throwException("NPE was not thrown with null locale");
54 throwException("IllegalArgumentException was not thrown with invalid currency code");
58 throwException("IllegalArgumentException was not thrown with invalid currency code");
64 throwException("IllegalArgumentException was not thrown with non-supported locale");
68 static void throwException(String msg) { method in class:Bug6807534
/openjdk7/jdk/test/javax/management/remote/mandatory/socketFactories/
H A DRMIServerFactory.java32 private boolean throwException; field in class:RMIServerFactory
36 throwException = test.equals("test_server_factory") ? true : false;
40 if (throwException) {
H A DRMIClientFactory.java32 private boolean throwException; field in class:RMIClientFactory
36 throwException = test.equals("test_client_factory") ? true : false;
40 if (throwException) {
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/types/
H A DTypeDataBase.java35 guaranteed to work for primitive types. If throwException is
38 public Type lookupType(String cTypeName, boolean throwException); argument
47 public Integer lookupIntConstant(String constantName, boolean throwException); argument
56 public Long lookupLongConstant(String constantName, boolean throwException); argument
/openjdk7/jdk/src/share/native/com/sun/tools/jdi/
H A DSharedMemory.h40 void throwException(JNIEnv *env, char *exceptionClassName, char *message);
H A DSharedMemoryTransport.c51 throwException(JNIEnv *env, char *exceptionClassName, char *message) function
71 throwException(env, "java/io/IOException", buf);
89 throwException(env, "com/sun/jdi/connect/TransportTimeoutException",
115 throwException(env, "java/lang/InternalError", "GetStringUTFChars failed");
147 throwException(env, "java/lang/InternalError", "Unable to create string");
166 throwException(env, "java/lang/InternalError", "Unable to access Java VM");
172 throwException(env, "java/lang/InternalError", "Unable to initialize Shared Memory transport");
197 throwException(env, "java/lang/InternalError", "GetStringUTFChars failed");
/openjdk7/jdk/test/javax/crypto/EncryptedPrivateKeyInfo/
H A DGetKeySpecException.java73 private static void throwException(String msg) throws Exception { method in class:GetKeySpecException
130 throwException("Should throw NPE for null Cipher!");
139 throwException("Should throw NPE for null Key!");
145 throwException("Should throw IKE for invalid Key!");
151 throwException("Should throw IKE for corrupted epki!");
159 throwException("Should throw NSAE if no matching impl!");
168 throwException("Should throw NPE for null Key!");
174 throwException("Should throw NPE for null String!");
180 throwException("Should throw IKE for invalid Key!");
186 throwException("Shoul
[all...]
/openjdk7/jdk/src/share/classes/javax/net/ssl/
H A DSSLSocketFactory.java197 private Socket throwException() throws SocketException { method in class:DefaultSSLSocketFactory
205 return throwException();
211 return throwException();
218 return throwException();
224 return throwException();
231 return throwException();
238 return throwException();
H A DSSLServerSocketFactory.java158 private ServerSocket throwException() throws SocketException { method in class:DefaultSSLServerSocketFactory
164 return throwException();
171 return throwException();
177 return throwException();
184 return throwException();
/openjdk7/jdk/test/javax/management/remote/mandatory/notif/
H A DNotificationAccessControllerTest.java59 private boolean throwException; field in class:NotificationAccessControllerTest.NAC
60 public NAC(boolean throwException) { argument
61 this.throwException = throwException;
73 if (throwException)
89 if (throwException)
107 if (!throwException)
184 public int runTest(boolean enableChecks, boolean throwException) argument
189 (!enableChecks ? "" : (throwException ? ": add/remove " :
206 new NAC(throwException));
[all...]
/openjdk7/jdk/test/java/nio/charset/CharsetDecoder/
H A DEmptyInput.java40 cd.decode(bb, CharBuffer.allocate(10), true).throwException();
/openjdk7/jdk/test/java/nio/channels/DatagramChannel/
H A DConnect.java62 reader.throwException();
63 writer.throwException();
67 public void throwException() throws Exception; method in interface:Connect.Sprintable
78 public void throwException() throws Exception { method in class:Connect.Actor
138 public void throwException() throws Exception { method in class:Connect.Reactor
H A DSRTest.java76 reader.throwException();
77 writer.throwException();
81 public void throwException() throws Exception; method in interface:SRTest.Sprintable
92 public void throwException() throws Exception { method in class:SRTest.ClassicWriter
122 public void throwException() throws Exception { method in class:SRTest.NioWriter
156 public void throwException() throws Exception { method in class:SRTest.ClassicReader
187 public void throwException() throws Exception { method in class:SRTest.NioReader
H A DSender.java57 server.throwException();
58 client.throwException();
69 void throwException() throws Exception { method in class:Sender.Client
103 void throwException() throws Exception { method in class:Sender.Server
H A DEmptyBuffer.java64 server.throwException();
82 void throwException() throws Exception { method in class:EmptyBuffer.Server
/openjdk7/jdk/test/javax/management/Introspector/
H A DUnregisterMBeanExceptionTest.java81 if (throwException)
88 public boolean throwException; field in class:UnregisterMBeanExceptionTest.TestDynamicMBean
105 obj.throwException = true;
/openjdk7/jdk/test/java/rmi/transport/acceptLoop/
H A DCloseServerSocketOnTermination.java94 throwException(acceptFailure);
106 private static void throwException(Throwable t) { method in class:CloseServerSocketOnTermination.SSF
/openjdk7/jdk/src/share/classes/javax/security/auth/login/
H A DLoginContext.java675 private void throwException(LoginException originalError, LoginException le) method in class:LoginContext
816 throwException(null, new LoginException(form.format(source)));
818 throwException(null, new LoginException(ResourcesMgr.getString
822 throwException(null, new LoginException(ResourcesMgr.getString
826 throwException(null, new LoginException(ResourcesMgr.getString
857 // do not call throwException here.
901 throwException(firstRequiredError, le);
929 throwException(firstRequiredError, null);
932 throwException(firstError, null);
935 throwException(ne
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/types/basic/
H A DBasicTypeDataBase.java77 public Type lookupType(String cTypeName, boolean throwException) { argument
79 if (type == null && throwException) {
89 public Integer lookupIntConstant(String constantName, boolean throwException) { argument
92 if (throwException) {
103 public Long lookupLongConstant(String constantName, boolean throwException) { argument
106 if (throwException) {
/openjdk7/jdk/src/share/classes/java/lang/
H A DStringCoding.java162 cr.throwException();
165 cr.throwException();
237 cr.throwException();
240 cr.throwException();
313 cr.throwException();
316 cr.throwException();
372 cr.throwException();
375 cr.throwException();
/openjdk7/jdk/test/sun/nio/cs/
H A DTestStringCodingUTF8.java128 cr.throwException();
131 cr.throwException();
153 cr.throwException();
156 cr.throwException();
/openjdk7/jdk/src/share/classes/java/nio/charset/
H A DCoderResult.java271 public void throwException() method in class:CoderResult
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/
H A DNextAction.java100 public void throwException(Throwable t) { method in class:NextAction
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/helper/
H A DAbstractTubeImpl.java92 na.throwException(t);
/openjdk7/jdk/src/share/classes/sun/nio/cs/
H A DStreamEncoder.java257 cr.throwException();
285 cr.throwException();
312 cr.throwException();

Completed in 124 milliseconds

12