org.apache.droids.exception
Class ProtocolNotFoundException

Package class diagram package ProtocolNotFoundException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.droids.exception.DroidsException
              extended by 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

Constructor Summary
ProtocolNotFoundException(String url)
          Create an exception for the given url
ProtocolNotFoundException(String url, String message)
          Create an exception for the given url and detailed message
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 protocol
message - detailed message to explain the underlying cause
Method Detail

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