org.bff.javampd.exception
Class MPDResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.bff.javampd.exception.MPDException
              extended by org.bff.javampd.exception.MPDResponseException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MPDAdminException, MPDDatabaseException, MPDPlayerException, MPDPlaylistException

public class MPDResponseException
extends MPDException

Represents an error with the MPD response.

See Also:
Serialized Form

Constructor Summary
MPDResponseException()
          Constructor.
MPDResponseException(java.lang.String message)
          Class constructor specifying the message.
MPDResponseException(java.lang.String message, java.lang.String command)
          Class constructor specifying the message and command generating the error.
MPDResponseException(java.lang.String message, java.lang.Throwable cause)
          Class constructor specifying the message and cause.
MPDResponseException(java.lang.Throwable cause)
          Class contructor specifying the cause.
 
Method Summary
 java.lang.String getCommand()
           
 
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

MPDResponseException

public MPDResponseException()
Constructor.


MPDResponseException

public MPDResponseException(java.lang.String message)
Class constructor specifying the message.

Parameters:
message - the exception message

MPDResponseException

public MPDResponseException(java.lang.String message,
                            java.lang.String command)
Class constructor specifying the message and command generating the error.

Parameters:
message - the exception message
command - the command generating the exception

MPDResponseException

public MPDResponseException(java.lang.Throwable cause)
Class contructor specifying the cause.

Parameters:
cause - the cause of this exception

MPDResponseException

public MPDResponseException(java.lang.String message,
                            java.lang.Throwable cause)
Class constructor specifying the message and cause.

Parameters:
message - the exception message
cause - the cause of this exception
Method Detail

getCommand

public java.lang.String getCommand()