Home | History | Annotate | Download | only in lang

Lines Matching defs:exception

49         Throwable emptyThrowable = new Exception();
55 Throwable throwable = new Exception("msg");
56 IllegalStateException exception = new IllegalStateException(throwable);
57 assertEquals(throwable.getClass().getName() + ": " + "msg", exception.getMessage());
66 Throwable emptyThrowable = new Exception();
72 Throwable throwable = new Exception("msg_exception");
73 IllegalStateException exception = new IllegalStateException("msg", throwable);
74 assertEquals("msg", exception.getMessage());
75 assertEquals("msg", exception.getLocalizedMessage());
76 assertEquals(throwable.getClass().getName() + ": " + throwable.getMessage(), exception
83 public void testSerializationSelf() throws Exception {
91 public void testSerializationCompatibility() throws Exception {