edu.ksu.canvas.exception.UnauthorizedException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of canvas-api Show documentation
Show all versions of canvas-api Show documentation
A native Java library to talk to the Canvas REST API
The newest version!
package edu.ksu.canvas.exception;
/**
* Thrown if Canvas returns a 401 response without a WWW-Authenticate header.
* Indicates that the user does not have permission to access the
* requested resource. I believe this is actually an incorrect use
* of 401 and it should be 403 instead but this is how the Canvas API do.
*/
public class UnauthorizedException extends CanvasException {
private static final long serialVersionUID = 1L;
}