Class UnauthorizedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.sonar.api.server.authentication.UnauthorizedException
-
- All Implemented Interfaces:
java.io.Serializable
public class UnauthorizedException extends java.lang.RuntimeException
This exception should be used when a functional error is generated by an Identity Provider plugin. The user will be redirected to an unauthorized page and the exception's message will be displayed in the UI.- Since:
- 5.5
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnauthorizedException(java.lang.String message)
UnauthorizedException(java.lang.String message, java.lang.Throwable cause)
-