org.apache.droids.exception
Class ProtocolNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.droids.exception.DroidsException
org.apache.droids.exception.ProtocolNotFoundException
- All Implemented Interfaces:
- Serializable
public class ProtocolNotFoundException
- extends DroidsException
If we do not have any instance of a protocol registered for the iven url.
- See Also:
- Serialized Form
Method Summary |
String |
getUrl()
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 |
ProtocolNotFoundException
public ProtocolNotFoundException(String url)
- Create an exception for the given url
- Parameters:
url
- url where we do not have a suitable protocol
ProtocolNotFoundException
public ProtocolNotFoundException(String url,
String message)
- Create an exception for the given url and detailed message
- Parameters:
url
- url where we do not have a suitable protocolmessage
- detailed message to explain the underlying cause
getUrl
public String getUrl()
- Will return the url which has caused the problem
- Returns:
- url which has caused the problem
Copyright © 2008 The Apache Software Foundation