"...student-tournament-hub.git" did not exist on "206d9f2e0b5a3ee11d5ddf876c715fe29b5b7439"
Newer
Older
package mi.hdm.exceptions;
import java.lang.reflect.Type;
/**
* This exception is thrown when no object is found for a code.
*/
public class MissingContentException extends Exception {
private final String code;
public MissingContentException(String code, Type type) {
super("Missing content exception: no instance of '" + type.getTypeName() + "' was found with code '" + code + "'");
this.code = code;
}
public String getCode() {
return code;
}
}