edu.ksu.lti.launch.exception.InvalidInstanceException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lti-launch Show documentation
Show all versions of lti-launch Show documentation
Java framework for authenticating LTI launch requests from the Canvas LMS
The newest version!
package edu.ksu.lti.launch.exception;
/**
* Thrown to indicate that this LTI application is running in an unexpected instance of Canvas.
*
* This happens most often after a Canvas test/beta overwrite from production. The
* production settings are copied to the development instance and then you have a user
* in Canvas test trying to hit the production LTI application.
*/
public class InvalidInstanceException extends RuntimeException {
private static final long serialVersionUID = 1L;
public final String launchUrl;
public final String courseId;
public InvalidInstanceException(String launchUrl, String courseId) {
this.launchUrl = launchUrl;
this.courseId = courseId;
}
}