net.anotheria.anodoc.data.NoSuchDocumentException Maven / Gradle / Ivy
package net.anotheria.anodoc.data;
/**
* This exception will be thrown when a not existing Document was requested,
* or the DataHolder with correspoding name is not a Document.
*/
public class NoSuchDocumentException extends RuntimeException{
/**
* SerialVersionUID.
*/
private static final long serialVersionUID = 1L;
/**
* Creates a new instance.
* @param name
*/
public NoSuchDocumentException(String name){
super("No such document "+name+", or "+name+" is not a document");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy