|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
co.arcs.groove.thresher.GroovesharkException
public class GroovesharkException
Base class for exceptions from Grooveshark.
This class and its subclasses represent a sub-set of the exceptions returned from the internal API. Some internal exceptions are handled silently (eg. invalid tokens are automatically renewed), while others are mapped to the exceptions listed here.
GroovesharkException.InvalidCredentialsException,
GroovesharkException.RateLimitedException,
GroovesharkException.ServerErrorException,
Serialized Form| Nested Class Summary | |
|---|---|
static class |
GroovesharkException.InvalidCredentialsException
Exception generated when the supplied login credentials were invalid. |
static class |
GroovesharkException.RateLimitedException
Exception generated when the client has made too many requests in a short period of time. |
static class |
GroovesharkException.ServerErrorException
Exception generated when something has gone wrong with the API: it's either changed in a way that breaks compatibility with this library, or the Grooveshark servers are down. |
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||