org.odata4j.exceptions
Class NotAuthorizedException.Factory
java.lang.Object
   org.odata4j.exceptions.NotAuthorizedException.Factory
org.odata4j.exceptions.NotAuthorizedException.Factory
- All Implemented Interfaces: 
- ExceptionFactory<NotAuthorizedException>
- Enclosing class:
- NotAuthorizedException
- public static class NotAuthorizedException.Factory 
- extends Object- implements ExceptionFactory<NotAuthorizedException>
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
NotAuthorizedException.Factory
public NotAuthorizedException.Factory()
createException
public NotAuthorizedException createException(OError error)
- Description copied from interface: ExceptionFactory
- Creates an instance of a specific sub-class of ODataProducerException.
 
- 
- Specified by:
- createExceptionin interface- ExceptionFactory<NotAuthorizedException>
 
- 
- 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:
- getStatusCodein interface- ExceptionFactory<NotAuthorizedException>
 
- 
- Returns:
- the status code
 
http://odata4j.org