org.bff.javampd.exception
Class MPDException

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

public abstract class MPDException
extends java.lang.Exception

Abstract base class for MPD Exceptions.

See Also:
Serialized Form

Constructor Summary
MPDException()
          Constructor.
MPDException(java.lang.String message)
          Class constructor specifying the message.
MPDException(java.lang.String message, java.lang.Throwable cause)
          Class constructor specifying the message and cause.
MPDException(java.lang.Throwable cause)
          Class contructor specifying the cause.
 
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
 

Constructor Detail

MPDException

public MPDException()
Constructor.


MPDException

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

Parameters:
message - the exception message

MPDException

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

Parameters:
cause - the cause of this exception

MPDException

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