Lines Matching refs:ex
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.getErrorCode() == 0);
63 SyncFactoryException ex = new SyncFactoryException("Exception 1");
64 ex.initCause(t1);
68 ex.setNextException(ex1);
69 ex.setNextException(ex2);
71 for (Throwable e : ex) {
82 SQLException ex = new SyncFactoryException("Exception 1");
83 ex.initCause(t1);
87 ex.setNextException(ex1);
88 ex.setNextException(ex2);
90 while (ex != null) {
91 assertTrue(msgs[num++].equals(ex.getMessage()));
92 Throwable c = ex.getCause();
97 ex = ex.getNextException();