Skip to content

Instantly share code, notes, and snippets.

@slyphon slyphon/RecordNotFound.java Secret
Created Apr 12, 2010

Embed
What would you like to do?
package mbox.harpo.errors;
import clojure.lang.IMeta;
import clojure.lang.IPersistentMap;
import clojure.lang.IObj;
public class RecordNotFound extends HarpoException implements IMeta, IObj {
IPersistentMap meta;
public RecordNotFound() { super(); }
public RecordNotFound(String message) { super(message); }
public RecordNotFound(String message, Throwable cause) { super(message, cause); }
public RecordNotFound(Throwable cause) { super(cause); }
public RecordNotFound(IPersistentMap meta, String message, Throwable cause) {
super(message, cause);
this.meta = meta;
}
public IObj withMeta(IPersistentMap meta) {
return new RecordNotFound(meta, getMessage(), getCause());
}
public IPersistentMap meta() {
return this.meta;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.