/libcore/luni/src/main/java/java/lang/ |
H A D | ClassNotFoundException.java | 42 * the detail message for this exception. 50 * trace, the specified detail message and the exception that occurred when 54 * the detail message for this exception. 55 * @param exception 56 * the exception which occurred while loading the class. 58 public ClassNotFoundException(String detailMessage, Throwable exception) { argument 60 ex = exception; 64 * Returns the exception which occurred when loading the class. 66 * @return Throwable the exception which occurred while loading the class.
|
H A D | ExceptionInInitializerError.java | 21 * Thrown when an exception occurs during class initialization. 27 private Throwable exception; field in class:ExceptionInInitializerError 51 * stack trace and the specified cause. The exception should be the one 54 * @param exception 55 * the exception that caused this error. 57 public ExceptionInInitializerError(Throwable exception) { argument 58 this.exception = exception; 59 initCause(exception); 63 * Returns the exception tha [all...] |
/libcore/luni/src/main/java/java/lang/reflect/ |
H A D | InvocationTargetException.java | 21 * This class provides a wrapper for an exception thrown by a {@code Method} or 35 * {@code null} cause / target exception. 43 * cause / target exception filled in. 45 * @param exception 46 * the exception which occurred while running the Method or 49 public InvocationTargetException(Throwable exception) { argument 50 super(null, exception); 51 target = exception; 56 * cause / target exception and message filled in. 59 * the detail message for the exception 64 InvocationTargetException(Throwable exception, String detailMessage) argument [all...] |
H A D | UndeclaredThrowableException.java | 21 * This class provides a wrapper for an undeclared, checked exception thrown by 34 * undeclared, checked exception that occurred. 36 * @param exception 37 * the undeclared, checked exception that occurred 39 public UndeclaredThrowableException(Throwable exception) { argument 40 this.undeclaredThrowable = exception; 41 initCause(exception); 46 * undeclared, checked exception that occurred and a message. 49 * the detail message for the exception 50 * @param exception 53 UndeclaredThrowableException(Throwable exception, String detailMessage) argument [all...] |
/libcore/luni/src/main/java/javax/sql/ |
H A D | StatementEvent.java | 33 private SQLException exception; field in class:StatementEvent 44 * @param exception 45 * the exception to throw 48 SQLException exception) { 51 this.exception = exception; 55 * the constructor with null exception 74 * Returns the exception to be thrown 76 * @return the exception of this event 79 return this.exception; 47 StatementEvent(PooledConnection con, PreparedStatement statement, SQLException exception) argument [all...] |
/libcore/luni/src/main/java/javax/xml/parsers/ |
H A D | FactoryConfigurationError.java | 37 private Exception exception; field in class:FactoryConfigurationError 45 this.exception = null; 52 * @param msg The error message for the exception. 57 this.exception = null; 65 * @param e The exception to be encapsulated in a 71 this.exception = e; 78 * @param e The exception to be encapsulated in a 85 this.exception = e; 91 * message for the exception and there is an encapsulated 92 * exception the [all...] |
/libcore/luni/src/main/java/javax/xml/transform/ |
H A D | ErrorListener.java | 42 * after a call to {@link #fatalError(TransformerException exception)}.</p> 60 * @param exception The warning information encapsulated in a 61 * transformer exception. 68 public abstract void warning(TransformerException exception) argument 79 * @param exception The error information encapsulated in a 80 * transformer exception. 87 public abstract void error(TransformerException exception) argument 99 * @param exception The error information encapsulated in a 107 public abstract void fatalError(TransformerException exception) argument
|
H A D | TransformerFactoryConfigurationError.java | 34 private Exception exception; field in class:TransformerFactoryConfigurationError 41 this.exception = null; 48 * @param msg The error message for the exception. 54 this.exception = null; 61 * @param e The exception to be encapsulated in a 68 this.exception = e; 75 * @param e The exception to be encapsulated in a 83 this.exception = e; 88 * message for the exception and there is an encapsulated 89 * exception the [all...] |
/libcore/luni/src/main/java/org/xml/sax/ |
H A D | ErrorHandler.java | 33 * in preference to throwing an exception: it is up to the application 34 * to decide whether to throw an exception for different types of 38 * may throw an exception after reporting any fatalError. 67 * @param exception The warning information encapsulated in a 68 * SAX parse exception. 69 * @exception org.xml.sax.SAXException Any SAX exception, possibly 70 * wrapping another exception. 73 public abstract void warning (SAXParseException exception) argument 96 * @param exception Th 102 error(SAXParseException exception) argument 134 fatalError(SAXParseException exception) argument [all...] |
H A D | SAXException.java | 1 // SAX exception class. 21 * functionality. SAX handlers may throw this exception or 22 * any exception subclassed from it.</p> 26 * or an exception derived from a SAXException.</p> 45 this.exception = null; 56 this.exception = null; 61 * Create a new SAXException wrapping an existing exception. 63 * <p>The existing exception will be embedded in the new 67 * @param e The exception to be wrapped in a SAXException. 71 this.exception 147 private Exception exception; field in class:SAXException [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ForkJoinWorkerThread.java | 93 * @param exception the exception causing this thread to abort due 96 protected void onTermination(Throwable exception) { argument 105 Throwable exception = null; 110 exception = ex; 113 onTermination(exception); 115 if (exception == null) 116 exception = ex; 118 pool.deregisterWorker(this, exception);
|
/libcore/luni/src/main/java/java/util/logging/ |
H A D | ErrorManager.java | 76 * Reports an error using the given message, exception and error code. This 83 * @param exception 84 * the exception associated with the error, which may be 90 public void error(String message, Exception exception, int errorCode) { argument 101 if (exception != null) { 102 System.err.println("Exception - " + exception);
|
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldAndroidPipedStreamTest.java | 32 exception = e; 36 Throwable exception; field in class:OldAndroidPipedStreamTest.TestThread 100 if (writer.exception != null) { 101 throw new Exception(writer.exception); 103 if (reader.exception != null) { 104 throw new Exception(reader.exception); 183 if (reader.exception != null) { 184 throw new Exception(reader.exception); 186 if (writer.exception != null) { 187 throw new Exception(writer.exception); [all...] |
/libcore/luni/src/main/native/ |
H A D | java_util_regex_Pattern.cpp | 70 jobject exception = env->NewObject(exceptionClass, method, message, pattern, error.offset); local 71 env->Throw(reinterpret_cast<jthrowable>(exception));
|
H A D | java_lang_System.cpp | 41 static void System_log(JNIEnv* env, jclass, jchar type, jstring javaMessage, jthrowable exception) { argument 60 if (exception != NULL) { 61 jniLogException(env, priority, LOG_TAG, exception);
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
H A D | FactoryFinder.java | 290 private Exception exception; field in class:FactoryFinder.ConfigurationError 294 * exception.</p> 301 this.exception = x; 310 return exception;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
H A D | ServerSocketChannelTest.java | 518 if (writeThread.exception != null) { 519 throw writeThread.exception; 526 IOException exception; field in class:ServerSocketChannelTest.WriteChannelThread 538 exception = e; 563 if (writeThread.exception != null) { 564 throw writeThread.exception; 586 if (writeThread.exception != null) { 587 throw writeThread.exception; 594 IOException exception; field in class:ServerSocketChannelTest.WriteSocketThread 607 exception [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
H A D | HandshakeCompletedEventTest.java | 79 fail("Any exception wasn't thrown for null parameters"); 359 // The server must have completed without an exception. 365 // The client must have completed without an exception. 391 private Exception exception; field in class:HandshakeCompletedEventTest.TestServer 451 exception = ex; 456 return exception; 474 private Exception exception; field in class:HandshakeCompletedEventTest.TestClient 522 exception = ex; 527 return exception;
|
H A D | SSLSessionTest.java | 288 && server.exception == null 289 && client.exception == null) { 296 if (server.exception != null) { 297 server.exception.printStackTrace(); 299 assertNull("server thread has a pending exception: " + server.exception, 300 server.exception); 301 if (client.exception != null) { 302 client.exception.printStackTrace(); 304 assertNull("client thread has a pending exception 488 private Exception exception; field in class:SSLSessionTest.TestServer 571 private Exception exception; field in class:SSLSessionTest.TestClient [all...] |
H A D | SSLSocketTest.java | 519 private Exception exception; field in class:SSLSocketTest.TestServer 571 exception = ex; 576 return exception;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/ |
H A D | MockHandler.java | 65 public void error(SAXParseException exception) throws SAXException { argument 66 logger.add("error", exception); 69 public void fatalError(SAXParseException exception) throws SAXException { argument 70 logger.add("fatalError", exception); 115 public void warning(SAXParseException exception) throws SAXException { argument 116 logger.add("warning", exception);
|
/libcore/luni/src/test/java/libcore/xml/ |
H A D | XsltXPathConformanceTestSuite.java | 617 public void warning(TransformerException exception) { argument 619 this.warning = exception; 623 public void error(TransformerException exception) { argument 625 this.error = exception; 629 public void fatalError(TransformerException exception) { argument 631 this.error = exception;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
H A D | PreferencesTest.java | 191 stream.setResult(MockInputStream.exception); 210 static final int exception = 1; field in class:PreferencesTest.MockInputStream 226 case exception:
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | ThreadPoolExecutorSubclassTest.java | 28 Exception exception; field in class:ThreadPoolExecutorSubclassTest.CustomTask 77 exception = e; 89 if (exception != null) 90 throw new ExecutionException(exception); 106 if (exception != null) 107 throw new ExecutionException(exception); 1429 * get of element of invokeAll(c) throws exception on failed task 1622 * get of element of invokeAll(c) throws exception on failed task
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
H A D | ObjectInputStreamTest.java | 455 // readStreamHeader() throws an exception. 469 // readStreamHeader() throws an exception. 693 // throws an exception. 1175 //throw exception 1208 private IOException exception = null; field in class:ObjectInputStreamTest.ExceptionalBufferedInputStream 1217 if (exception != null) { 1218 throw exception; 1235 public void setException(IOException exception) { argument 1236 this.exception = exception; [all...] |