Home
last modified time | relevance | path

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

1234

/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
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
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
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
DFileSystemNotFoundExceptionTest.java26 FileSystemNotFoundException exception = new FileSystemNotFoundException(); in test_constructor_empty() local
32 FileSystemNotFoundException exception = new FileSystemNotFoundException(message); in test_constructor$String() local
DProviderNotFoundExceptionTest.java26 ProviderNotFoundException exception = new ProviderNotFoundException(); in test_constructor$() local
33 ProviderNotFoundException exception = new ProviderNotFoundException(message); in test_constructor$String() local
DProviderMismatchExceptionTest.java26 ProviderMismatchException exception = new ProviderMismatchException(testString); in test_constructor$String() local
31 ProviderMismatchException exception = new ProviderMismatchException(); in test_constructor() 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
DAtomicMoveNotSupportedExceptionTest.java29 AtomicMoveNotSupportedException exception = new AtomicMoveNotSupportedException("source", in test_constructor$String$String$String() local
73 AtomicMoveNotSupportedException exception = (AtomicMoveNotSupportedException) 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/test/java/libcore/java/lang/
DIllegalCallerExceptionTest.java31 IllegalCallerException exception = new IllegalCallerException(); in constructor_noArg() local
41 IllegalCallerException exception = new IllegalCallerException(message); in constructor_String() local
52 IllegalCallerException exception = new IllegalCallerException(message, cause); in constructor_String_Throwable() local
62 IllegalCallerException exception = new IllegalCallerException(cause); in constructor_Throwable() local
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/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/
DCompletionExceptionTest.java46 CompletionException exception = new TestCompletionException(); in testConstructNoMessage() local
56 CompletionException exception = new TestCompletionException("test"); in testConstructWithMessage() local
67 CompletionException exception = new CompletionException("test", cause); in testConstructWithMessageAndCause() local
DExecutionExceptionTest.java46 ExecutionException exception = new TestExecutionException(); in testConstructNoMessage() local
56 ExecutionException exception = new TestExecutionException("test"); in testConstructWithMessage() local
67 ExecutionException exception = new ExecutionException("test", cause); in testConstructWithMessageAndCause() local
DRejectedExecutionExceptionTest.java46 RejectedExecutionException exception = new TestExecutionException(); in testConstructDefault() local
57 RejectedExecutionException exception = new RejectedExecutionException("test", cause); in testConstructWithMessageAndCause() local
68 RejectedExecutionException exception = new RejectedExecutionException(cause); in testConstructWithCause() local
/libcore/luni/src/test/java/libcore/java/util/
DIllformedLocaleExceptionTest.java32 IllformedLocaleException exception = new IllformedLocaleException(); in testConstructor() local
39 IllformedLocaleException exception = new IllformedLocaleException("message", 6); in testGetErrorIndex() local
/libcore/ojluni/src/main/native/
Dfdlibm.h89 struct exception { struct
90 int type;
91 char *name;
92 double arg1;
93 double arg2;
94 double retval;
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DStringConcatExceptionTest.java33 StringConcatException exception = new StringConcatException(msg); in constructor_LString() local
42 StringConcatException exception = new StringConcatException(msg, cause); in constructor_LStringLThrowable() 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.java62 private Exception exception; field in PrivilegedActionException
70 public PrivilegedActionException(Exception exception) { in PrivilegedActionException()

1234