com.microsoft.tfs.core.exceptions
Class ACSUnauthorizedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.microsoft.tfs.core.exceptions.TECoreException
                  extended by com.microsoft.tfs.core.exceptions.ACSUnauthorizedException
All Implemented Interfaces:
java.io.Serializable

public class ACSUnauthorizedException
extends TECoreException

Thrown when Azure ACS returns a non-success HTTP status code (for getting a WRAP access token, etc.) because our credentials are not accepted.

See Also:
Serialized Form
Since:
TEE-SDK-11.0
Thread-safety:
thread-safe

Constructor Summary
ACSUnauthorizedException(java.lang.String wrapName, java.lang.String detailMessage)
          Creates an ACSUnauthorizedException for the given WRAP name and detail message (from ACS).
 
Method Summary
 
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

ACSUnauthorizedException

public ACSUnauthorizedException(java.lang.String wrapName,
                                java.lang.String detailMessage)
Creates an ACSUnauthorizedException for the given WRAP name and detail message (from ACS).

Parameters:
wrapName - the WRAP name submitted to the server (must not be null)
detailMessage - the detail error message from the server (may be null )


© 2015 Microsoft. All rights reserved.