org.cruxframework.crux.core.server.rest.spi
Class UnauthorizedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.cruxframework.crux.core.server.rest.spi.RestFailure
                  extended by org.cruxframework.crux.core.server.rest.spi.UnauthorizedException
All Implemented Interfaces:
Serializable

public class UnauthorizedException
extends RestFailure

Thrown when HTTP Unauthorized (401) is encountered

See Also:
Serialized Form

Constructor Summary
UnauthorizedException(String s)
           
UnauthorizedException(String s, String resp)
           
UnauthorizedException(String s, String resp, Throwable throwable)
           
UnauthorizedException(String s, Throwable throwable)
           
UnauthorizedException(Throwable throwable)
           
 
Method Summary
 
Methods inherited from class org.cruxframework.crux.core.server.rest.spi.RestFailure
getResponseCode, getResponseMessage, setResponseMessage
 
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

UnauthorizedException

public UnauthorizedException(String s)

UnauthorizedException

public UnauthorizedException(String s,
                             Throwable throwable)

UnauthorizedException

public UnauthorizedException(String s,
                             String resp,
                             Throwable throwable)

UnauthorizedException

public UnauthorizedException(String s,
                             String resp)

UnauthorizedException

public UnauthorizedException(Throwable throwable)


Copyright © 2015. All rights reserved.