co.arcs.groove.thresher
Class GroovesharkException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by co.arcs.groove.thresher.GroovesharkException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GroovesharkException.InvalidCredentialsException, GroovesharkException.RateLimitedException, GroovesharkException.ServerErrorException

public class GroovesharkException
extends Exception

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.

See Also:
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
 



Copyright © 2014. All rights reserved.