Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Access Management Mobile and Social


oracle.security.idaas.rest.provider.common.exception
Class RESTUnauthorizedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.security.idaas.common.util.OICBaseException
              extended by oracle.security.idaas.rest.provider.common.exception.RESTUnauthorizedException

All Implemented Interfaces:
java.io.Serializable, oracle.security.idaas.common.util.OICException
Direct Known Subclasses:
InvalidToken

public class RESTUnauthorizedException
extends oracle.security.idaas.common.util.OICBaseException

For HTTP 401 "Unauthorized" situation. When unauthenticated user tries to access a resource.

Please note: this exception is actually related to the failure of authentication We continue using this "Unauthorized" term due to HTTP spec misnomer.

See Also:
Serialized Form

Field Summary

 

Fields inherited from class oracle.security.idaas.common.util.OICBaseException
errorCode

 

Constructor Summary
RESTUnauthorizedException()
           
RESTUnauthorizedException(java.lang.String msg)
           
RESTUnauthorizedException(java.lang.String message, java.lang.String errorCode)
           
RESTUnauthorizedException(java.lang.String message, java.lang.String errorCode, java.lang.Throwable cause)
           
RESTUnauthorizedException(java.lang.String msg, java.lang.Throwable cause)
           
RESTUnauthorizedException(java.lang.Throwable cause)
           

 

Method Summary
 PluginContext getPluginContext()
           
 void setPluginContext(PluginContext pluginContext)
           

 

Methods inherited from class oracle.security.idaas.common.util.OICBaseException
getErrorCode

 

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

 

Methods inherited from interface oracle.security.idaas.common.util.OICException
getCause, getMessage

 

Constructor Detail

RESTUnauthorizedException

public RESTUnauthorizedException()

RESTUnauthorizedException

public RESTUnauthorizedException(java.lang.String msg)

RESTUnauthorizedException

public RESTUnauthorizedException(java.lang.Throwable cause)

RESTUnauthorizedException

public RESTUnauthorizedException(java.lang.String msg,
                                 java.lang.Throwable cause)

RESTUnauthorizedException

public RESTUnauthorizedException(java.lang.String message,
                                 java.lang.String errorCode)

RESTUnauthorizedException

public RESTUnauthorizedException(java.lang.String message,
                                 java.lang.String errorCode,
                                 java.lang.Throwable cause)

Method Detail

setPluginContext

public void setPluginContext(PluginContext pluginContext)

getPluginContext

public PluginContext getPluginContext()

Skip navigation links

Copyright (c) 2012,
Oracle All Rights Reserved.
Built 06/05/2012 17:18:07 PDT