org.bff.javampd.exception
Class MPDDatabaseException

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
                  extended by org.bff.javampd.exception.MPDDatabaseException
All Implemented Interfaces:
java.io.Serializable

public class MPDDatabaseException
extends MPDResponseException

Represents an error with the MPDDatabase.

See Also:
Serialized Form

Constructor Summary
MPDDatabaseException()
          Constructor.
MPDDatabaseException(java.lang.String message)
          Class constructor specifying the message.
MPDDatabaseException(java.lang.String message, java.lang.String command)
          Class constructor specifying the message and command generating the error.
MPDDatabaseException(java.lang.String message, java.lang.Throwable cause)
          Class constructor specifying the message and cause.
MPDDatabaseException(java.lang.Throwable cause)
          Class contructor specifying the cause.
 
Method Summary
 
Methods inherited from class org.bff.javampd.exception.MPDResponseException
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

MPDDatabaseException

public MPDDatabaseException()
Constructor.


MPDDatabaseException

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

Parameters:
message - the exception message

MPDDatabaseException

public MPDDatabaseException(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

MPDDatabaseException

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

Parameters:
cause - the cause of this exception

MPDDatabaseException

public MPDDatabaseException(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