/libcore/luni/src/main/java/java/lang/ |
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...] |
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.
|
/libcore/luni/src/main/java/org/xml/sax/ |
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...] |
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...] |
/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/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/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/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/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/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
H A D | BufferOverflowExceptionTest.java | 47 BufferOverflowException exception = new BufferOverflowException(); 48 assertNull(exception.getMessage()); 49 assertNull(exception.getLocalizedMessage()); 50 assertNull(exception.getCause());
|
H A D | BufferUnderflowExceptionTest.java | 50 BufferUnderflowException exception = new BufferUnderflowException(); 51 assertNull(exception.getMessage()); 52 assertNull(exception.getLocalizedMessage()); 53 assertNull(exception.getCause());
|
H A D | InvalidMarkExceptionTest.java | 46 InvalidMarkException exception = new InvalidMarkException(); 47 assertNull(exception.getMessage()); 48 assertNull(exception.getLocalizedMessage()); 49 assertNull(exception.getCause());
|
H A D | ReadOnlyBufferExceptionTest.java | 46 ReadOnlyBufferException exception = new ReadOnlyBufferException(); 47 assertNull(exception.getMessage()); 48 assertNull(exception.getLocalizedMessage()); 49 assertNull(exception.getCause());
|
/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/tests/api/java/lang/ref/ |
H A D | WeakReferenceTest.java | 48 boolean exception = false; 52 exception = true; 54 assertTrue("Should not throw NullPointerException", !exception);
|
H A D | PhantomReferenceTest.java | 127 boolean exception = false; 131 exception = true; 133 assertTrue("Should not throw NullPointerException", !exception);
|
H A D | SoftReferenceTest.java | 50 boolean exception = false; 54 exception = true; 56 assertTrue("Should not throw NullPointerException", !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/test/java/tests/api/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/tests/api/javax/net/ssl/ |
H A D | SSLSessionTest.java | 273 && server.exception == null 274 && client.exception == null) { 281 if (server.exception != null) { 282 server.exception.printStackTrace(); 284 assertNull("server thread has a pending exception: " + server.exception, 285 server.exception); 286 if (client.exception != null) { 287 client.exception.printStackTrace(); 289 assertNull("client thread has a pending exception 474 private Exception exception; field in class:SSLSessionTest.TestServer 557 private Exception exception; field in class:SSLSessionTest.TestClient [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
H A D | OpenSSLSessionImpl.java | 227 SSLPeerUnverifiedException exception = new SSLPeerUnverifiedException(e.getMessage()); 228 exception.initCause(exception); 229 throw exception; 231 SSLPeerUnverifiedException exception = new SSLPeerUnverifiedException(e.getMessage()); 232 exception.initCause(exception); 233 throw exception;
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_ListTest.java | 150 boolean exception = false; 155 exception = true; 158 assertTrue("list iterator next() exception: " + i, exception); 160 assertTrue("list iterator next() exception: " + i, !exception); 179 boolean exception = false; 183 exception = true; 185 assertTrue("list iterator previous() exception", exception); [all...] |
/libcore/luni/src/main/native/ |
H A D | java_lang_System.cpp | 37 static void System_log(JNIEnv* env, jclass, jchar type, jstring javaMessage, jthrowable exception) { argument 56 if (exception != NULL) { 57 jniLogException(env, priority, LOG_TAG, exception);
|