Home
last modified time | relevance | path

Searched defs:exception (Results 1 – 25 of 64) sorted by relevance

123

/libcore/luni/src/test/java/libcore/java/nio/file/
DFileSystemExceptionTest.java28 FileSystemException exception = new FileSystemException("file"); in test_constructor$String() local
36 FileSystemException exception = new FileSystemException("file", "otherFile", "reason"); in test_constructor$String$String$String() local
77 FileSystemException exception = (FileSystemException) SerializationTester in test_serialization() local
88 FileSystemException exception = new FileSystemException("file", "otherFile", "reason"); in test_getMessage() local
DFileAlreadyExistsExceptionTest.java28 FileAlreadyExistsException exception = new FileAlreadyExistsException("file"); in test_constructor$String() local
37 FileAlreadyExistsException exception = new FileAlreadyExistsException("file", "otherFile", in test_constructor$String$String$String() local
80 FileAlreadyExistsException exception = (FileAlreadyExistsException) SerializationTester in test_serialization() local
DNoSuchFileExceptionTest.java28 NoSuchFileException exception = new NoSuchFileException("file"); in test_constructor$String() local
37 NoSuchFileException exception = new NoSuchFileException("file", "otherFile", "reason"); in test_constructor$String$String$String() local
78 NoSuchFileException exception = (NoSuchFileException) SerializationTester in test_serialization() local
DNotLinkExceptionTest.java28 NotLinkException exception = new NotLinkException("file"); in test_constructor$String() local
37 NotLinkException exception = new NotLinkException("file", "otherFile", "reason"); in test_constructor$String$String$String() local
77 NotLinkException exception = (NotLinkException) SerializationTester.deserializeHex(hex); in test_serialization() local
DAccessDeniedExceptionTest.java29 AccessDeniedException exception = new AccessDeniedException("file"); in test_constructor$String() local
38 AccessDeniedException exception = new AccessDeniedException("file", "otherFile", "reason"); in test_constructor$String$String$String() local
79 AccessDeniedException exception = (AccessDeniedException) in test_serialization() local
DProviderMismatchExceptionTest.java26 ProviderMismatchException exception = new ProviderMismatchException(testString); in test_constructor$String() local
31 ProviderMismatchException exception = new ProviderMismatchException(); in test_constructor() local
DFileSystemNotFoundExceptionTest.java26 FileSystemNotFoundException exception = new FileSystemNotFoundException(); in test_constructor_empty() local
32 FileSystemNotFoundException exception = new FileSystemNotFoundException(message); in test_constructor$String() local
DAtomicMoveNotSupportedExceptionTest.java29 AtomicMoveNotSupportedException exception = new AtomicMoveNotSupportedException("source", in test_constructor$String$String$String() local
73 AtomicMoveNotSupportedException exception = (AtomicMoveNotSupportedException) in test_serialization() local
DNotDirectoryExceptionTest.java28 NotDirectoryException exception = new NotDirectoryException("file"); in test_constructor$String() local
70 NotDirectoryException exception = (NotDirectoryException) SerializationTester in test_serialization() local
DFileSystemLoopExceptionTest.java29 FileSystemLoopException exception = new FileSystemLoopException("file"); in test_constructor$String() local
68 FileSystemLoopException exception = (FileSystemLoopException) SerializationTester in test_serialization() local
DDirectoryNotEmptyExceptionTest.java29 DirectoryNotEmptyException exception = new DirectoryNotEmptyException("file"); in test_constructor$String() local
71 DirectoryNotEmptyException exception = (DirectoryNotEmptyException) SerializationTester in test_serialization() local
DInvalidPathExceptionTest.java30 InvalidPathException exception = new InvalidPathException(input, reason, index); in test_Constructor$String$String$Int() local
82 InvalidPathException exception = new InvalidPathException(input, reason); in test_Constructor$String$String() local
/libcore/luni/src/main/java/javax/xml/transform/
DErrorListener.java68 public abstract void warning(TransformerException exception) in warning()
87 public abstract void error(TransformerException exception) in error()
107 public abstract void fatalError(TransformerException exception) in fatalError()
/libcore/luni/src/main/java/org/xml/sax/
DErrorHandler.java73 public abstract void warning (SAXParseException exception) in warning()
102 public abstract void error (SAXParseException exception) in error()
134 public abstract void fatalError (SAXParseException exception) in fatalError()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DExecutionExceptionTest.java45 ExecutionException exception = new TestExecutionException(); in testConstructNoMessage() local
55 ExecutionException exception = new TestExecutionException("test"); in testConstructWithMessage() local
66 ExecutionException exception = new ExecutionException("test", cause); in testConstructWithMessageAndCause() local
DCompletionExceptionTest.java45 CompletionException exception = new TestCompletionException(); in testConstructNoMessage() local
55 CompletionException exception = new TestCompletionException("test"); in testConstructWithMessage() local
66 CompletionException exception = new CompletionException("test", cause); in testConstructWithMessageAndCause() local
DRejectedExecutionExceptionTest.java45 RejectedExecutionException exception = new TestExecutionException(); in testConstructDefault() local
56 RejectedExecutionException exception = new RejectedExecutionException("test", cause); in testConstructWithMessageAndCause() local
67 RejectedExecutionException exception = new RejectedExecutionException(cause); in testConstructWithCause() local
/libcore/ojluni/src/main/native/
Dfdlibm.h90 struct exception { struct
91 int type;
92 char *name;
93 double arg1;
94 double arg2;
95 double retval;
/libcore/luni/src/test/java/libcore/java/lang/
DRuntimeExceptionTest.java32 RuntimeException exception = new TestRuntimeException("message", null /* cause */, in withNonWritableStackTrace_getStackTraceIsEmpty() local
41 RuntimeException exception = new TestRuntimeException("message", null /* cause */, in withWritableStackTrace_nonEmptyGetStackTrace() local
54 RuntimeException exception = new TestRuntimeException("Message", null, in whenSuppressionDisabled_addSuppressHasNoEffect() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DInputMismatchExceptionTest.java35 InputMismatchException exception = new InputMismatchException(); in test_Constructor() local
45 InputMismatchException exception = new InputMismatchException( in test_ConstructorLjava_lang_String() local
/libcore/ojluni/src/main/java/java/security/
DPrivilegedActionException.java61 private Exception exception; field in PrivilegedActionException
69 public PrivilegedActionException(Exception exception) { in PrivilegedActionException()
/libcore/ojluni/src/main/java/javax/sql/
DStatementEvent.java45 private SQLException exception; field in StatementEvent
86 SQLException exception) { in StatementEvent()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DIllegalStateExceptionTest.java56 IllegalStateException exception = new IllegalStateException(throwable); in test_ConstructorLjava_lang_Throwable() local
73 IllegalStateException exception = new IllegalStateException("msg", throwable); in test_ConstructorLjava_lang_StringLjava_lang_Throwable() local
DUnsupportedOperationExceptionTest.java57 UnsupportedOperationException exception = new UnsupportedOperationException(throwable); in test_ConstructorLjava_lang_Throwable() local
75 UnsupportedOperationException exception = new UnsupportedOperationException( in test_ConstructorLjava_lang_StringLjava_lang_Throwable() local
/libcore/ojluni/src/main/java/sun/nio/fs/
DCancellable.java46 private Throwable exception; field in Cancellable
86 private Throwable exception() { in exception() method in Cancellable

123