All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.imsglobal.lti.launch.LtiError Maven / Gradle / Ivy

Go to download

BasicLTI Utilities are a set of utility classes to aid in the development of BasicLTI consumers and providers. They deal with much of the heavy lifting and make the process more opaque to the developer.

The newest version!
package org.imsglobal.lti.launch;

/**
 * Created by paul on 5/28/14.
 */
public class LtiError {

    private final String label;

    public static final LtiError INVALID_HASH = new LtiError("invalid_hash");
    public static final LtiError TIMESTAMP_MISMATCH = new LtiError("timestamp_mismatch");
    public static final LtiError BAD_REQUEST = new LtiError("bad_request");

    private LtiError(String label){
        this.label = label;
    }

    public String toString(){
        return label;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy