|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.droids.exception.DroidsException
org.apache.droids.exception.ParserNotFoundException
public class ParserNotFoundException
ParserNotFoundException gives a detailed exception for problems that can occur while parsing a task.
| Constructor Summary | |
|---|---|
ParserNotFoundException(java.lang.String message)
Constructs a new exception with the specified detail message. |
|
ParserNotFoundException(java.lang.String url,
java.lang.String contentType)
Create an exception for the given url and content type |
|
ParserNotFoundException(java.lang.String url,
java.lang.String contentType,
java.lang.String message)
Create an exception for the given url and content type |
|
| Method Summary | |
|---|---|
java.lang.String |
getContentType()
If not constructed via message only it will return the content typee which has caused the problem |
java.lang.String |
getUrl()
If not constructed via message only it will return the url which has caused the problem |
| 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 ParserNotFoundException(java.lang.String url,
java.lang.String contentType)
url - url which produced the errorcontentType - content type of the url
public ParserNotFoundException(java.lang.String url,
java.lang.String contentType,
java.lang.String message)
url - url which produced the errorcontentType - content type of the urlmessage - a detailed message to state what has gone wrongpublic ParserNotFoundException(java.lang.String message)
Throwable.initCause(java.lang.Throwable).
message - the detail message. The detail message is saved for later
retrieval by the Throwable.getMessage() method.| Method Detail |
|---|
public java.lang.String getUrl()
public java.lang.String getContentType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||