Searched refs:ex (Results 1 - 25 of 1991) sorted by relevance

1234567891011>>

/openjdk9/nashorn/test/script/basic/
H A DNASHORN-166.js33 } catch(ex){
36 } catch(ex) {
39 if (ex !== "ex1") {
40 fail('#1 expected that (ex === "ex1")');
43 if (ex === "ex2") {
44 fail('#2 expected that (ex !== "ex2")');
H A DNASHORN-792.js33 } catch (ex) {
34 print(ex.constructor.name);
39 } catch (ex) {
40 print(ex.constructor.name);
45 } catch (ex) {
46 print(ex.constructor.name);
51 } catch (ex) {
52 print(ex.constructor.name);
57 } catch (ex) {
58 print(ex
[all...]
H A DJDK-8016235.js44 //for now, too conservative as var ex declaration exists on the function
47 var ex = new Error("DOM Exception 5");
48 ex.code = ex.number = 5;
49 return ex;
H A DNASHORN-203.js36 } catch (ex) {
37 if (! (ex instanceof RangeError)) {
38 fail("expected RangeError but got " + ex);
H A Dtrycatch.js42 catch(ex) {
43 actual = ex + '';
H A Dtry.js37 } catch (ex) {
39 print(ex);
/openjdk9/jdk/src/java.base/share/classes/java/lang/
H A DClassNotFoundException.java60 * This field holds the exception ex if the
61 * ClassNotFoundException(String s, Throwable ex) constructor was
66 private Throwable ex; field in class:ClassNotFoundException
91 * @param ex the exception that was raised while loading the class
94 public ClassNotFoundException(String s, Throwable ex) { argument
96 this.ex = ex;
111 return ex;
123 return ex;
/openjdk9/jdk/test/javax/transaction/testng/test/transaction/
H A DXAExceptionTests.java41 XAException ex = new XAException();
42 assertTrue(ex.getMessage() == null
43 && ex.getCause() == null
44 && ex.errorCode == 0);
52 XAException ex = new XAException(reason);
53 assertTrue(ex.getMessage().equals(reason)
54 && ex.getCause() == null
55 && ex.errorCode == 0);
67 XAException ex = (XAException) ois.readObject();
68 assertTrue(reason.equals(ex
[all...]
H A DTransactionRolledbackExceptionTests.java41 TransactionRolledbackException ex = new TransactionRolledbackException();
42 assertTrue(ex.getMessage() == null
43 && ex.getCause() == null);
51 TransactionRolledbackException ex = new TransactionRolledbackException(reason);
52 assertTrue(ex.getMessage().equals(reason)
53 && ex.getCause() == null);
65 TransactionRolledbackException ex = (TransactionRolledbackException) ois.readObject();
66 assertTrue(reason.equals(ex.getMessage())
67 && ex.getCause() == null);
H A DTransactionRequiredExceptionTests.java41 TransactionRequiredException ex = new TransactionRequiredException();
42 assertTrue(ex.getMessage() == null
43 && ex.getCause() == null);
51 TransactionRequiredException ex = new TransactionRequiredException(reason);
52 assertTrue(ex.getMessage().equals(reason)
53 && ex.getCause() == null);
65 TransactionRequiredException ex = (TransactionRequiredException) ois.readObject();
66 assertTrue(reason.equals(ex.getMessage())
67 && ex.getCause() == null);
/openjdk9/jdk/src/java.sql/share/classes/javax/sql/
H A DConnectionEvent.java65 * @param ex the SQLException about to be thrown to the application
68 public ConnectionEvent(PooledConnection con, SQLException ex) { argument
70 this.ex = ex;
79 public SQLException getSQLException() { return ex; }
87 private SQLException ex = null; field in class:ConnectionEvent
/openjdk9/langtools/test/tools/javac/multicatch/
H A DNeg03.java25 } catch (Exception ex) {
26 ex = new B2(); //effectively final analysis disabled!
27 throw ex;
H A DNeg02.java23 } catch (final A | B ex) {
24 ex = new B();
H A DNeg02eff_final.java23 } catch (A | B ex) {
24 ex = new B();
/openjdk9/jdk/test/javax/sql/testng/test/rowset/spi/
H A DSyncFactoryExceptionTests.java38 SyncFactoryException ex = new SyncFactoryException();
39 assertTrue(ex.getMessage() == null
40 && ex.getSQLState() == null
41 && ex.getCause() == null
42 && ex.getErrorCode() == 0);
50 SyncFactoryException ex = new SyncFactoryException(reason);
51 assertTrue(ex.getMessage().equals(reason)
52 && ex.getSQLState() == null
53 && ex.getCause() == null
54 && ex
[all...]
H A DSyncProviderExceptionTests.java49 SyncProviderException ex = new SyncProviderException();
50 assertTrue(ex.getMessage() == null
51 && ex.getSQLState() == null
52 && ex.getCause() == null
53 && ex.getErrorCode() == 0
54 && ex.getSyncResolver() instanceof SyncResolverImpl);
63 SyncProviderException ex = new SyncProviderException();
64 ex.setSyncResolver(new StubSyncResolver());
65 assertTrue(ex.getMessage() == null
66 && ex
[all...]
/openjdk9/jdk/test/javax/sql/testng/test/rowset/serial/
H A DSerialExceptionTests.java38 SerialException ex = new SerialException();
39 assertTrue(ex.getMessage() == null
40 && ex.getSQLState() == null
41 && ex.getCause() == null
42 && ex.getErrorCode() == 0);
50 SerialException ex = new SerialException(reason);
51 assertTrue(ex.getMessage().equals(reason)
52 && ex.getSQLState() == null
53 && ex.getCause() == null
54 && ex
[all...]
/openjdk9/langtools/test/tools/javac/generics/
H A DCatchTyparam.java14 } catch (T ex) {
15 } catch (U ex) {
/openjdk9/jdk/test/java/util/IllegalFormatException/
H A DConstructors.java53 IllegalFormatException ex;
55 ex = new DuplicateFormatFlagsException(null);
56 fail(ex, NPE);
62 ex = new FormatFlagsConversionMismatchException(null, 'a');
63 fail(ex, NPE);
69 ex = new IllegalFormatConversionException('b', null);
70 fail(ex, NPE);
76 ex = new IllegalFormatFlagsException(null);
77 fail(ex, NPE);
83 ex
[all...]
/openjdk9/jdk/src/java.rmi/share/classes/java/rmi/server/
H A DRMIFailureHandler.java51 * @param ex the exception that occurred during <code>ServerSocket</code>
58 public boolean failure(Exception ex); argument
/openjdk9/jdk/test/java/sql/testng/test/sql/
H A DBatchUpdateExceptionTests.java62 BatchUpdateException ex = new BatchUpdateException();
63 assertTrue(ex.getMessage() == null
64 && ex.getSQLState() == null
65 && ex.getCause() == null
66 && ex.getErrorCode() == 0
67 && ex.getUpdateCounts() == null
68 && ex.getLargeUpdateCounts() == null);
76 BatchUpdateException ex = new BatchUpdateException((Throwable) null);
77 assertTrue(ex.getMessage() == null
78 && ex
[all...]
H A DSQLWarningTests.java51 SQLWarning ex = new SQLWarning();
52 assertTrue(ex.getMessage() == null
53 && ex.getSQLState() == null
54 && ex.getCause() == null
55 && ex.getErrorCode() == 0);
63 SQLWarning ex = new SQLWarning(reason);
64 assertTrue(ex.getMessage().equals(reason)
65 && ex.getSQLState() == null
66 && ex.getCause() == null
67 && ex
[all...]
H A DSQLExceptionTests.java47 SQLException ex = new SQLException();
48 assertTrue(ex.getMessage() == null
49 && ex.getSQLState() == null
50 && ex.getCause() == null
51 && ex.getErrorCode() == 0);
59 SQLException ex = new SQLException(reason);
60 assertTrue(ex.getMessage().equals(reason)
61 && ex.getSQLState() == null
62 && ex.getCause() == null
63 && ex
[all...]
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/org/glassfish/gmbal/
H A DAMXClient.java66 } catch (MalformedObjectNameException ex) {
147 } catch (MBeanException ex) {
148 throw new GmbalException( "Exception in getMeta", ex ) ;
149 } catch (RuntimeOperationsException ex) {
150 throw new GmbalException( "Exception in getMeta", ex ) ;
151 } catch (InstanceNotFoundException ex) {
152 throw new GmbalException( "Exception in getMeta", ex ) ;
153 } catch (IntrospectionException ex) {
154 throw new GmbalException( "Exception in getMeta", ex ) ;
155 } catch (ReflectionException ex) {
[all...]
/openjdk9/jdk/test/javax/imageio/stream/
H A DNullStreamCheckTest.java75 private static boolean verifyOutputExceptionMessage(IOException ex) { argument
76 String message = ex.getMessage();
83 private static boolean verifyInputExceptionMessage(IOException ex) { argument
84 String message = ex.getMessage();
92 } catch (IOException ex) {
93 if (verifyOutputExceptionMessage(ex))
94 throw ex;
103 } catch (IOException ex) {
104 if (verifyOutputExceptionMessage(ex))
105 throw ex;
[all...]

Completed in 213 milliseconds

1234567891011>>