/openjdk9/nashorn/test/script/basic/ |
H A D | NASHORN-166.js | 33 } 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 D | NASHORN-792.js | 33 } 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 D | JDK-8016235.js | 44 //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 D | NASHORN-203.js | 36 } catch (ex) { 37 if (! (ex instanceof RangeError)) { 38 fail("expected RangeError but got " + ex);
|
H A D | trycatch.js | 42 catch(ex) { 43 actual = ex + '';
|
H A D | try.js | 37 } catch (ex) { 39 print(ex);
|
/openjdk9/jdk/src/java.base/share/classes/java/lang/ |
H A D | ClassNotFoundException.java | 60 * 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 D | XAExceptionTests.java | 41 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 D | TransactionRolledbackExceptionTests.java | 41 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 D | TransactionRequiredExceptionTests.java | 41 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 D | ConnectionEvent.java | 65 * @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 D | Neg03.java | 25 } catch (Exception ex) { 26 ex = new B2(); //effectively final analysis disabled! 27 throw ex;
|
H A D | Neg02.java | 23 } catch (final A | B ex) { 24 ex = new B();
|
H A D | Neg02eff_final.java | 23 } catch (A | B ex) { 24 ex = new B();
|
/openjdk9/jdk/test/javax/sql/testng/test/rowset/spi/ |
H A D | SyncFactoryExceptionTests.java | 38 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 D | SyncProviderExceptionTests.java | 49 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 D | SerialExceptionTests.java | 38 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 D | CatchTyparam.java | 14 } catch (T ex) { 15 } catch (U ex) {
|
/openjdk9/jdk/test/java/util/IllegalFormatException/ |
H A D | Constructors.java | 53 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 D | RMIFailureHandler.java | 51 * @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 D | BatchUpdateExceptionTests.java | 62 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 D | SQLWarningTests.java | 51 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 D | SQLExceptionTests.java | 47 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 D | AMXClient.java | 66 } 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 D | NullStreamCheckTest.java | 75 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...] |