|
||||||||||
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(String message)
Constructs a new exception with the specified detail message. |
|
ParserNotFoundException(String url,
String contentType)
Create an exception for the given url and content type |
|
ParserNotFoundException(String url,
String contentType,
String message)
Create an exception for the given url and content type |
Method Summary | |
---|---|
String |
getContentType()
If not constructed via message only it will return the content typee which has caused the problem |
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(String url, String contentType)
url
- url which produced the errorcontentType
- content type of the urlpublic ParserNotFoundException(String url, String contentType, String message)
url
- url which produced the errorcontentType
- content type of the urlmessage
- a detailed message to state what has gone wrongpublic ParserNotFoundException(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 String getUrl()
public String getContentType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |