Commit b2e19bef authored by pauldardeau's avatar pauldardeau
Browse files

Added Entry reference to EntryNotFoundException.

parent 2365bb04
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -29,6 +29,9 @@ public class EntryNotFoundException extends KineticException {

    private static final long serialVersionUID = -2377497794808030692L;
    
    // the entry that wasn't found
    private Entry entry;

    public EntryNotFoundException() {
        ;
    }
@@ -45,4 +48,23 @@ public class EntryNotFoundException extends KineticException {
        super(message, cause);
    }

    public EntryNotFoundException(Entry entry) {
        this.entry = entry;
    }

    public EntryNotFoundException(String message, Entry entry) {
        super(message);
        this.entry = entry;
    }

    public EntryNotFoundException(Throwable cause, Entry entry) {
        super(cause);
        this.entry = entry;
    }

    public EntryNotFoundException(String message, Throwable cause, Entry entry) {
        super(message, cause);
        this.entry = entry;
    }

}