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:

Author:
ldodds
See Also:
Serialized Form

Constructor Summary
MusicBrainzException()
           
MusicBrainzException(java.lang.String arg0)
           
MusicBrainzException(java.lang.String arg0, java.lang.Throwable arg1)
           
MusicBrainzException(java.lang.Throwable arg0)
           
 
Method Summary
protected static void throwIfNecessary(int code, java.lang.String message)
           
protected static void throwIfNecessary(Model model)
           
 
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
 

Constructor Detail

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)
Method Detail

throwIfNecessary

protected static void throwIfNecessary(int code,
                                       java.lang.String message)

throwIfNecessary

protected static void throwIfNecessary(Model model)