• Home
  • Raw
  • Download

Lines Matching refs:ex

58     } catch (ArrayIndexOutOfBoundsException ex) {  in arrayAccess()
59 assertEquals("length=1; index=2", ex.getMessage()); in arrayAccess()
66 } catch (ArrayIndexOutOfBoundsException ex) { in arrayAccess()
67 assertEquals("length=1; index=2", ex.getMessage()); in arrayAccess()
74 } catch (ArrayIndexOutOfBoundsException ex) { in arrayAccess()
75 assertEquals("length=1; index=2", ex.getMessage()); in arrayAccess()
82 } catch (ArrayIndexOutOfBoundsException ex) { in arrayAccess()
83 assertEquals("length=1; index=2", ex.getMessage()); in arrayAccess()
90 } catch (ArrayIndexOutOfBoundsException ex) { in arrayAccess()
91 assertEquals("length=1; index=2", ex.getMessage()); in arrayAccess()
98 } catch (ArrayIndexOutOfBoundsException ex) { in arrayAccess()
99 assertEquals("length=1; index=2", ex.getMessage()); in arrayAccess()
109 } catch (ArrayStoreException ex) { in arrayStore()
111 ex.getMessage()); in arrayStore()
119 } catch (ArrayStoreException ex) { in arrayStore()
121 ex.getMessage()); in arrayStore()
129 } catch (ArrayStoreException ex) { in arrayStore()
131 ex.getMessage()); in arrayStore()
138 } catch (ArrayStoreException ex) { in arrayStore()
140 ex.getMessage()); in arrayStore()
147 } catch (ArrayStoreException ex) { in arrayStore()
148 assertEquals("Incompatible types: src=java.lang.String[], dst=int[]", ex.getMessage()); in arrayStore()
155 } catch (ArrayStoreException ex) { in arrayStore()
156 assertEquals("Incompatible types: src=float[], dst=java.lang.Runnable[]", ex.getMessage()); in arrayStore()
163 } catch (ArrayStoreException ex) { in arrayStore()
164 assertEquals("Incompatible types: src=boolean[], dst=double[][]", ex.getMessage()); in arrayStore()
171 } catch (ArrayStoreException ex) { in arrayStore()
172 assertEquals("source of type java.lang.String is not an array", ex.getMessage()); in arrayStore()
179 } catch (ArrayStoreException ex) { in arrayStore()
180 assertEquals("destination of type java.lang.Integer is not an array", ex.getMessage()); in arrayStore()
188 } catch (ArrayStoreException ex) { in arrayStore()
189 assertEquals("source of type Main$C is not an array", ex.getMessage()); in arrayStore()
199 } catch (ClassCastException ex) { in classCast()
200 assertEquals("java.lang.Exception cannot be cast to java.lang.String", ex.getMessage()); in classCast()
207 } catch (ClassCastException ex) { in classCast()
208 assertEquals("java.lang.String[] cannot be cast to Main$C", ex.getMessage()); in classCast()
215 } catch (ClassCastException ex) { in classCast()
216 assertEquals("float[] cannot be cast to Main$C", ex.getMessage()); in classCast()
223 } catch (ClassCastException ex) { in classCast()
224 assertEquals("char[][] cannot be cast to Main$C", ex.getMessage()); in classCast()
231 } catch (ClassCastException ex) { in classCast()
232 assertEquals("java.lang.Integer cannot be cast to java.lang.Object[][][]", ex.getMessage()); in classCast()
259 } catch (ClassNotFoundException ex) { in classNotFound()
260 assertEquals("Invalid name: [V", ex.getMessage()); in classNotFound()
267 } catch (ClassNotFoundException ex) { in classNotFound()
268 assertEquals("package.Class", ex.getMessage()); in classNotFound()
275 } catch (ClassNotFoundException ex) { in classNotFound()
276 assertEquals("[[Lpackage.Class;", ex.getMessage()); in classNotFound()
284 } catch (NegativeArraySizeException ex) { in negativeArraySize()
285 assertEquals("-123", ex.getMessage()); in negativeArraySize()
304 } catch (NullPointerException ex) { in nullPointers()
305 …oke virtual method 'int java.lang.Object.hashCode()' on a null object reference", ex.getMessage()); in nullPointers()
313 } catch (NullPointerException ex) { in nullPointers()
314 … assertEquals("Attempt to read from field 'int A.i' on a null object reference", ex.getMessage()); in nullPointers()
322 } catch (NullPointerException ex) { in nullPointers()
323 … assertEquals("Attempt to write to field 'int A.i' on a null object reference", ex.getMessage()); in nullPointers()
331 } catch (NullPointerException ex) { in nullPointers()
332 assertEquals("Attempt to read from null array", ex.getMessage()); in nullPointers()
340 } catch (NullPointerException ex) { in nullPointers()
341 assertEquals("Attempt to write to null array", ex.getMessage()); in nullPointers()
349 } catch (NullPointerException ex) { in nullPointers()
350 assertEquals("Attempt to get length of null array", ex.getMessage()); in nullPointers()
447 } catch (StringIndexOutOfBoundsException ex) { in stringIndex()
448 assertEquals("length=5; index=-1", ex.getMessage()); in stringIndex()
455 } catch (StringIndexOutOfBoundsException ex) { in stringIndex()
456 assertEquals("length=5; index=7", ex.getMessage()); in stringIndex()
463 } catch (StringIndexOutOfBoundsException ex) { in stringIndex()
464 assertEquals("length=11; index=14", ex.getMessage()); in stringIndex()