/libcore/ojluni/src/main/java/java/security/ |
H A D | PrivilegedActionException.java | 8 * particular file as subject to the "Classpath" exception as provided 33 * This exception is thrown by 37 * that the action being performed threw a checked exception. The exception 41 * for an exception thrown by a privileged action. 43 * <p>As of release 1.4, this exception has been retrofitted to conform to 44 * the general purpose exception-chaining mechanism. The "exception thrown 61 private Exception exception; field in class:PrivilegedActionException 67 * @param exception Th 69 PrivilegedActionException(Exception exception) argument [all...] |
/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/test/java/libcore/java/nio/file/ |
H A D | FileSystemExceptionTest.java | 28 FileSystemException exception = new FileSystemException("file"); 29 assertEquals("file", exception.getFile()); 30 assertNull(exception.getOtherFile()); 31 assertNull(exception.getReason()); 32 assertTrue(exception instanceof IOException); 36 FileSystemException exception = new FileSystemException("file", "otherFile", "reason"); 37 assertEquals("file", exception.getFile()); 38 assertEquals("otherFile", exception.getOtherFile()); 39 assertEquals("reason", exception.getReason()); 77 FileSystemException exception [all...] |
H A D | AtomicMoveNotSupportedExceptionTest.java | 29 AtomicMoveNotSupportedException exception = new AtomicMoveNotSupportedException("source", 31 assertEquals("source", exception.getFile()); 32 assertEquals("target", exception.getOtherFile()); 33 assertEquals("reason", exception.getReason()); 34 assertTrue(exception instanceof FileSystemException); 73 AtomicMoveNotSupportedException exception = (AtomicMoveNotSupportedException) 76 String hex1 = SerializationTester.serializeHex(exception).toString(); 78 assertEquals("source", exception.getFile()); 79 assertEquals("target", exception.getOtherFile()); 80 assertEquals("reason", exception [all...] |
H A D | DirectoryNotEmptyExceptionTest.java | 29 DirectoryNotEmptyException exception = new DirectoryNotEmptyException("file"); 30 assertEquals("file", exception.getFile()); 31 assertNull(exception.getOtherFile()); 32 assertNull(exception.getReason()); 34 assertTrue(exception instanceof FileSystemException); 71 DirectoryNotEmptyException exception = (DirectoryNotEmptyException) SerializationTester 74 String hex1 = SerializationTester.serializeHex(exception).toString(); 76 assertEquals("file", exception.getFile()); 77 assertNull(exception.getOtherFile()); 78 assertNull(exception [all...] |
H A D | NotDirectoryExceptionTest.java | 28 NotDirectoryException exception = new NotDirectoryException("file"); 29 assertEquals("file", exception.getFile()); 30 assertNull(exception.getOtherFile()); 31 assertNull(exception.getReason()); 33 assertTrue(exception instanceof FileSystemException); 70 NotDirectoryException exception = (NotDirectoryException) SerializationTester 73 String hex1 = SerializationTester.serializeHex(exception).toString(); 75 assertEquals("file", exception.getFile()); 76 assertNull(exception.getOtherFile()); 77 assertNull(exception [all...] |
H A D | ProviderMismatchExceptionTest.java | 26 ProviderMismatchException exception = new ProviderMismatchException(testString); 27 assertEquals(testString, exception.getMessage()); 31 ProviderMismatchException exception = new ProviderMismatchException(); 32 assertEquals(null, exception.getMessage()); 33 assertTrue(exception instanceof IllegalArgumentException);
|
H A D | AccessDeniedExceptionTest.java | 29 AccessDeniedException exception = new AccessDeniedException("file"); 30 assertEquals("file", exception.getFile()); 31 assertNull(exception.getOtherFile()); 32 assertNull(exception.getReason()); 34 assertTrue(exception instanceof FileSystemException); 38 AccessDeniedException exception = new AccessDeniedException("file", "otherFile", "reason"); 39 assertEquals("file", exception.getFile()); 40 assertEquals("otherFile", exception.getOtherFile()); 41 assertEquals("reason", exception.getReason()); 79 AccessDeniedException exception [all...] |
H A D | FileAlreadyExistsExceptionTest.java | 28 FileAlreadyExistsException exception = new FileAlreadyExistsException("file"); 29 assertEquals("file", exception.getFile()); 30 assertNull(exception.getOtherFile()); 31 assertNull(exception.getReason()); 33 assertTrue(exception instanceof FileSystemException); 37 FileAlreadyExistsException exception = new FileAlreadyExistsException("file", "otherFile", 39 assertEquals("file", exception.getFile()); 40 assertEquals("otherFile", exception.getOtherFile()); 41 assertEquals("reason", exception.getReason()); 80 FileAlreadyExistsException exception [all...] |
H A D | NoSuchFileExceptionTest.java | 28 NoSuchFileException exception = new NoSuchFileException("file"); 29 assertEquals("file", exception.getFile()); 30 assertNull(exception.getOtherFile()); 31 assertNull(exception.getReason()); 33 assertTrue(exception instanceof FileSystemException); 37 NoSuchFileException exception = new NoSuchFileException("file", "otherFile", "reason"); 38 assertEquals("file", exception.getFile()); 39 assertEquals("otherFile", exception.getOtherFile()); 40 assertEquals("reason", exception.getReason()); 78 NoSuchFileException exception [all...] |
H A D | NotLinkExceptionTest.java | 28 NotLinkException exception = new NotLinkException("file"); 29 assertEquals("file", exception.getFile()); 30 assertNull(exception.getOtherFile()); 31 assertNull(exception.getReason()); 33 assertTrue(exception instanceof FileSystemException); 37 NotLinkException exception = new NotLinkException("file", "otherFile", "reason"); 38 assertEquals("file", exception.getFile()); 39 assertEquals("otherFile", exception.getOtherFile()); 40 assertEquals("reason", exception.getReason()); 77 NotLinkException exception [all...] |
H A D | FileSystemAlreadyExistsExceptionTest.java | 27 FileSystemAlreadyExistsException exception = new FileSystemAlreadyExistsException(message); 28 assertEquals(message, exception.getMessage()); 31 exception = new FileSystemAlreadyExistsException(message); 32 assertEquals(message, exception.getMessage());
|
H A D | FileSystemNotFoundExceptionTest.java | 26 FileSystemNotFoundException exception = new FileSystemNotFoundException(); 27 assertEquals(null, exception.getMessage()); 32 FileSystemNotFoundException exception = new FileSystemNotFoundException(message); 33 assertEquals(message, exception.getMessage());
|
H A D | ProviderNotFoundExceptionTest.java | 27 ProviderNotFoundException exception = new ProviderNotFoundException(message); 28 assertEquals(message, exception.getMessage()); 31 exception = new ProviderNotFoundException(message); 32 assertEquals(message, exception.getMessage());
|
H A D | FileSystemLoopExceptionTest.java | 29 FileSystemLoopException exception = new FileSystemLoopException("file"); 30 assertEquals("file", exception.getFile()); 31 assertTrue(exception instanceof FileSystemException); 68 FileSystemLoopException exception = (FileSystemLoopException) SerializationTester 71 String hex1 = SerializationTester.serializeHex(exception).toString(); 73 assertEquals("file", exception.getFile());
|
H A D | InvalidPathExceptionTest.java | 30 InvalidPathException exception = new InvalidPathException(input, reason, index); 31 assertEquals(index, exception.getIndex()); 32 assertEquals(reason, exception.getReason()); 33 assertEquals(input, exception.getInput()); 37 exception = new InvalidPathException(input, reason, index); 38 assertEquals(index, exception.getIndex()); 39 assertEquals(reason, exception.getReason()); 40 assertEquals(input, exception.getInput()); 82 InvalidPathException exception = new InvalidPathException(input, reason); 83 assertEquals(-1, exception [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/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/ojluni/src/main/java/java/lang/ |
H A D | ExceptionInInitializerError.java | 8 * particular file as subject to the "Classpath" exception as provided 29 * Signals that an unexpected exception has occurred in a static initializer. 31 * exception occurred during evaluation of a static initializer or the 34 * <p>As of release 1.4, this exception has been retrofitted to conform to 35 * the general purpose exception-chaining mechanism. The "saved throwable 51 * This field holds the exception if the 58 private Throwable exception; field in class:ExceptionInInitializerError 64 * A detail message is a String that describes this particular exception. 76 * @param thrown The exception thrown 80 this.exception [all...] |
/libcore/ojluni/src/main/java/javax/sql/ |
H A D | StatementEvent.java | 8 * particular file as subject to the "Classpath" exception as provided 45 private SQLException exception; field in class:StatementEvent 67 this.exception = null; 77 * @param exception The <code>SQLException </code>the driver is about to throw to 86 SQLException exception) { 91 this.exception = exception; 115 return this.exception; 84 StatementEvent(PooledConnection con, PreparedStatement statement, SQLException exception) argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | InputMismatchExceptionTest.java | 35 InputMismatchException exception = new InputMismatchException(); 36 assertNotNull(exception); 37 assertTrue(exception instanceof NoSuchElementException); 38 assertTrue(exception instanceof Serializable); 45 InputMismatchException exception = new InputMismatchException( 47 assertNotNull(exception); 48 assertEquals(ERROR_MESSAGE, exception.getMessage());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/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());
|