com.samskivert.net.cddb
Class CDDBException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.samskivert.net.cddb.CDDBException
All Implemented Interfaces:
Serializable

public class CDDBException
extends Exception

This exception class encapsulates errors that may occur while communicating to a CDDB server. It is not used to communicate IO errors (an IOException is used for that), but it is used to communicate failures communicated within the scope of the CDDB protocol.

See Also:
CDDB, Serialized Form

Constructor Summary
CDDBException(int code, String message)
           
 
Method Summary
 int getCode()
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CDDBException

public CDDBException(int code,
                     String message)
Method Detail

getCode

public int getCode()


Copyright © 2012. All Rights Reserved.