org.apache.droids.exception
Class 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:
java.io.Serializable

public class ProtocolNotFoundException
extends DroidsException

If we do not have any instance of a protocol registered for the iven url.

Version:
1.0
See Also:
Serialized Form

Constructor Summary
ProtocolNotFoundException(java.net.URI uri)
          Create an exception for the given url
ProtocolNotFoundException(java.net.URI uri, java.lang.String message)
          Create an exception for the given url and detailed message
 
Method Summary
 java.net.URI getUri()
          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(java.net.URI uri)
Create an exception for the given url

Parameters:
url - url where we do not have a suitable protocol

ProtocolNotFoundException

public ProtocolNotFoundException(java.net.URI uri,
                                 java.lang.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

getUri

public java.net.URI getUri()
Will return the url which has caused the problem

Returns:
url which has caused the problem


Copyright © 2007-2009. All Rights Reserved.