package eu.dnetlib.goldoa.domain;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Created by antleb on 3/19/15.
 */
public class ManagerException extends Exception implements IsSerializable {
    public enum ErrorCause implements IsSerializable {
        NOT_EXISTS, UNKNOWN;
    }

    private ErrorCause errorCause;

    public ManagerException() {
    }

    public ManagerException(ErrorCause errorCause) {
        this.errorCause = errorCause;
    }

    public ErrorCause getErrorCause() {
        return errorCause;
    }

    public void setErrorCause(ErrorCause errorCause) {
        this.errorCause = errorCause;
    }
}
