com.ldodds.musicbrainz
Class MusicBrainzException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.ldodds.musicbrainz.MusicBrainzException
- All Implemented Interfaces:
- java.io.Serializable
- public class MusicBrainzException
- extends java.lang.RuntimeException
Exception throw by query methods if:
- Server returns any of the following HTTP error codes: 204, 400, 403, 500, 503
- An HTTP 200 status code was retrieved but the RDF model contains an mq:Response
with an mq:error property
- Author:
- ldodds
- See Also:
- Serialized Form
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 |
MusicBrainzException
public MusicBrainzException()
MusicBrainzException
public MusicBrainzException(java.lang.String arg0)
MusicBrainzException
public MusicBrainzException(java.lang.String arg0,
java.lang.Throwable arg1)
MusicBrainzException
public MusicBrainzException(java.lang.Throwable arg0)
throwIfNecessary
protected static void throwIfNecessary(int code,
java.lang.String message)
throwIfNecessary
protected static void throwIfNecessary(Model model)