|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.antelmann.cddb.CDDBProtocolException
public class CDDBProtocolException
CDDBProtocolException is thrown when the response from a CDDB source did not comply to the expected protocol.
| Constructor Summary | |
|---|---|
CDDBProtocolException()
|
|
CDDBProtocolException(String message)
|
|
CDDBProtocolException(String message,
String protocol,
String query,
String result,
Throwable cause)
|
|
CDDBProtocolException(String message,
Throwable cause)
|
|
CDDBProtocolException(Throwable cause)
|
|
| Method Summary | |
|---|---|
String |
getProtocol()
returns information about the protocol used (URL, port, POST/GET-method if applicable) |
String |
getQuery()
returns the query sent to the server |
String |
getResult()
returns the result received from the server - if available |
void |
initProtocol(String protocol)
|
void |
initQuery(String query)
|
void |
initResult(String result)
|
| 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 |
|---|
public CDDBProtocolException()
public CDDBProtocolException(String message)
public CDDBProtocolException(Throwable cause)
public CDDBProtocolException(String message,
Throwable cause)
public CDDBProtocolException(String message,
String protocol,
String query,
String result,
Throwable cause)
| Method Detail |
|---|
public void initProtocol(String protocol)
public void initQuery(String query)
public void initResult(String result)
public String getProtocol()
public String getQuery()
public String getResult()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||