org.odata4j.exceptions
Class NotImplementedException.Factory

java.lang.Object
  extended by org.odata4j.exceptions.NotImplementedException.Factory
All Implemented Interfaces:
ExceptionFactory<NotImplementedException>
Enclosing class:
NotImplementedException

public static class NotImplementedException.Factory
extends Object
implements ExceptionFactory<NotImplementedException>


Constructor Summary
NotImplementedException.Factory()
           
 
Method Summary
 NotImplementedException createException(OError error)
          Creates an instance of a specific sub-class of ODataProducerException.
 int getStatusCode()
          Gets the status code this factory creates exception instances for.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotImplementedException.Factory

public NotImplementedException.Factory()
Method Detail

createException

public NotImplementedException createException(OError error)
Description copied from interface: ExceptionFactory
Creates an instance of a specific sub-class of ODataProducerException.

Specified by:
createException in interface ExceptionFactory<NotImplementedException>
Parameters:
error - the OData error message to be wrapped into the returned exception
Returns:
the exception instance

getStatusCode

public int getStatusCode()
Description copied from interface: ExceptionFactory
Gets the status code this factory creates exception instances for.

Specified by:
getStatusCode in interface ExceptionFactory<NotImplementedException>
Returns:
the status code


http://odata4j.org