/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/exception/ |
PlotRenderException.java | 17 package com.androidplot.exception;
19 public class PlotRenderException extends Exception {
|
/external/junit/src/main/java/org/junit/runner/ |
FilterFactory.java | 17 * Exception thrown if the {@link Filter} cannot be created.
19 public static class FilterNotCreatedException extends Exception {
20 public FilterNotCreatedException(Exception exception) {
21 super(exception.getMessage(), exception);
local
|
/cts/tests/tests/car/src/android/car/cts/ |
ExceptionsTest.java | 28 private static final Exception CAUSE = new RuntimeException(); 31 CarNotConnectedException exception = new CarNotConnectedException(); local 32 assertNull(exception.getMessage()); 33 assertNull(exception.getCause()); 35 exception = new CarNotConnectedException(MESSAGE); 36 assertEquals(MESSAGE, exception.getMessage()); 37 assertNull(exception.getCause()); 39 exception = new CarNotConnectedException(MESSAGE, CAUSE); 40 assertEquals(MESSAGE, exception.getMessage()); 41 assertEquals(CAUSE, exception.getCause()) [all...] |
/libcore/luni/src/test/java/libcore/java/nio/file/ |
DirectoryNotEmptyExceptionTest.java | 29 DirectoryNotEmptyException exception = new DirectoryNotEmptyException("file"); local 30 assertEquals("file", exception.getFile()); 31 assertNull(exception.getOtherFile()); 32 assertNull(exception.getReason()); 34 assertTrue(exception instanceof FileSystemException); 71 DirectoryNotEmptyException exception = (DirectoryNotEmptyException) SerializationTester local 74 String hex1 = SerializationTester.serializeHex(exception).toString(); 76 assertEquals("file", exception.getFile()); 77 assertNull(exception.getOtherFile()); 78 assertNull(exception.getReason()) [all...] |
NotDirectoryExceptionTest.java | 28 NotDirectoryException exception = new NotDirectoryException("file"); local 29 assertEquals("file", exception.getFile()); 30 assertNull(exception.getOtherFile()); 31 assertNull(exception.getReason()); 33 assertTrue(exception instanceof FileSystemException); 70 NotDirectoryException exception = (NotDirectoryException) SerializationTester local 73 String hex1 = SerializationTester.serializeHex(exception).toString(); 75 assertEquals("file", exception.getFile()); 76 assertNull(exception.getOtherFile()); 77 assertNull(exception.getReason()) [all...] |
AccessDeniedExceptionTest.java | 29 AccessDeniedException exception = new AccessDeniedException("file"); local 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"); local 39 assertEquals("file", exception.getFile()); 40 assertEquals("otherFile", exception.getOtherFile()); 41 assertEquals("reason", exception.getReason()); 79 AccessDeniedException exception = (AccessDeniedException local [all...] |
FileAlreadyExistsExceptionTest.java | 28 FileAlreadyExistsException exception = new FileAlreadyExistsException("file"); local 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", local 39 assertEquals("file", exception.getFile()); 40 assertEquals("otherFile", exception.getOtherFile()); 41 assertEquals("reason", exception.getReason()); 80 FileAlreadyExistsException exception = (FileAlreadyExistsException) SerializationTeste local [all...] |
NoSuchFileExceptionTest.java | 28 NoSuchFileException exception = new NoSuchFileException("file"); local 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"); local 38 assertEquals("file", exception.getFile()); 39 assertEquals("otherFile", exception.getOtherFile()); 40 assertEquals("reason", exception.getReason()); 78 NoSuchFileException exception = (NoSuchFileException) SerializationTeste local [all...] |
NotLinkExceptionTest.java | 28 NotLinkException exception = new NotLinkException("file"); local 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"); local 38 assertEquals("file", exception.getFile()); 39 assertEquals("otherFile", exception.getOtherFile()); 40 assertEquals("reason", exception.getReason()); 77 NotLinkException exception = (NotLinkException) SerializationTester.deserializeHex(hex) local [all...] |
/external/ImageMagick/api_examples/ |
magick_command.c | 21 #include "MagickCore/exception.h" 22 #include "MagickCore/exception-private.h" 35 ExceptionInfo *exception = AcquireExceptionInfo(); local 44 (void) MagickImageCommand(image_info, arg_count, args, NULL, exception); 46 if (exception->severity != UndefinedException) 48 CatchException(exception); 53 exception=DestroyExceptionInfo(exception);
|
/external/ImageMagick/www/source/ |
core.c | 10 *exception; local 30 exception=AcquireExceptionInfo(); 33 images=ReadImage(image_info,exception); 34 if (exception->severity != UndefinedException) 35 CatchException(exception); 44 resize_image=ResizeImage(image,106,80,LanczosFilter,1.0,exception); 46 MagickError(exception->severity,exception->reason,exception->description); 60 exception=DestroyExceptionInfo(exception) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/exception/ |
ExtException.java | 1 package org.bouncycastle.jce.exception; 5 * This is an extended exception. Java before version 1.4 did not offer the 6 * possibility the attach a cause to an exception. The cause of an exception is 8 * exception. This interface must be implemented by all exceptions to accomplish 16 * Returns the cause of the exception. 18 * @return The cause of the exception.
|
/external/clang/test/SemaTemplate/ |
instantiate-try-catch.cpp | 19 struct Exception { 21 Exception(const Exception&); // expected-note{{declared private here}} 23 void exception() { function in class:PR10232::Templated 25 } catch(Exception e) { // expected-error{{calling a private constructor of class 'PR10232::Templated<int>::Exception'}} 30 template class Templated<int>; // expected-note{{in instantiation of member function 'PR10232::Templated<int>::exception' requested here}}
|
/external/emma/core/java12/com/vladium/util/exception/ |
Exceptions.java | 9 package com.vladium.util.exception;
|
ICodedException.java | 9 package com.vladium.util.exception; 19 * An error code is a compact string representing the nature of exception 22 * the exception classes mentioned above. 32 * Returns the String that was passed as 'message' argument to an exception 33 * constructor. For a coded exception this will be the compact error code
|
IThrowableWrapper.java | 9 package com.vladium.util.exception; 18 * Any exception that wraps around another exception and wishes to be fully 39 * Every exception hierarchy implementing this interface must ensure that 48 * Every exception hierarchy implementing this interface must ensure that
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/exception/ |
BadSecretException.java | 17 package com.google.polo.exception; 20 * Exception thrown when the secret given is incorrect.
|
NoConfigurationException.java | 17 package com.google.polo.exception; 20 * Exception thrown when a session configuration could not be negotiated.
|
PoloException.java | 17 package com.google.polo.exception; 20 * Generic exception thrown by the Polo library. 22 public class PoloException extends Exception {
|
ProtocolErrorException.java | 17 package com.google.polo.exception; 20 * Exception thrown when the protocol has ceased due to error.
|
/external/mockito/src/test/java/org/mockito/internal/progress/ |
TimesTest.java | 17 public ExpectedException exception = ExpectedException.none(); field in class:TimesTest 20 public void shouldNotAllowNegativeNumberOfInvocations() throws Exception { 22 exception.expect(MockitoException.class); 23 exception.expectMessage("Negative value is not allowed here");
|
/external/sl4a/Utils/src/com/googlecode/android_scripting/exception/ |
Sl4aException.java | 17 package com.googlecode.android_scripting.exception; 20 public class Sl4aException extends Exception { 22 public Sl4aException(Exception e) { 30 public Sl4aException(String message, Exception e) {
|
/frameworks/opt/vcard/java/com/android/vcard/exception/ |
VCardAgentNotSupportedException.java | 16 package com.android.vcard.exception;
|
VCardException.java | 16 package com.android.vcard.exception; 18 public class VCardException extends java.lang.Exception {
|
VCardInvalidCommentLineException.java | 17 package com.android.vcard.exception;
|