edu.washington.cs.sounddetector.server.api.exception
Class SoundDetectorAPIException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.washington.cs.sounddetector.server.api.exception.SoundDetectorAPIException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- CantBuildClassifierException, DetectorDoesNotExistException, PhoneDoesNotExistException, SoundClassDoesNotExistException, SoundDoesNotExistException
public abstract class SoundDetectorAPIException
- extends Exception
Base class for all exceptions thrown by server api calls. Subclass this if you need to provide an
exception on the client side for a failure case of a method.
Subclasses should have a descriptive name which clearly describes the error. They should provide
a single constructor which takes all the necessary data for a client to figure out exactly what
went wrong, and provide getter methods for this data. Also, make sure to call the super
constructor.
- Author:
- the.dylan.price@gmail.com
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
SoundDetectorAPIException
public SoundDetectorAPIException()
SoundDetectorAPIException
public SoundDetectorAPIException(String message)
SoundDetectorAPIException
public SoundDetectorAPIException(Throwable throwable)
SoundDetectorAPIException
public SoundDetectorAPIException(String message,
Throwable throwable)
Copyright © 2012. All Rights Reserved.