noparentrowfkexception.java

来自「一个很好的开源项目管理系统源代码」· Java 代码 · 共 80 行

JAVA
80
字号
package net.java.workeffort.service.support;import java.util.List;import net.java.workeffort.infrastructure.exception.IPropertyException;import net.java.workeffort.infrastructure.exception.PropertyException;import org.springframework.dao.DataAccessException;/** * @author Antony Joseph */public class NoParentRowFkException extends DataAccessException implements        IPropertyException, IServiceException {        private String errorCode = "no.parent.row.fk.exception";        private IPropertyException pe = new PropertyException();    public NoParentRowFkException(String msg) {        super(msg);    }    public NoParentRowFkException(String msg, Exception e) {        super(msg, e);    }    public String getErrorCode() {        return errorCode;    }    public void setErrorCode(String errorCode) {        this.errorCode = errorCode;    }        public String getCollectionName() {        return pe.getCollectionName();    }        public Object getGuiltyObj() {        return pe.getGuiltyObj();    }        public Integer getIndex() {        return pe.getIndex();    }        public String getPropertyName() {        return pe.getPropertyName();    }        public List getPropertyNameList() {        return pe.getPropertyNameList();    }        public boolean isIndexed() {        return pe.isIndexed();    }        public boolean isMultiProperty() {        return pe.isMultiProperty();    }        public void setCollectionName(String collectionName) {        pe.setCollectionName(collectionName);    }       public void setGuiltyObj(Object guiltyObj) {        pe.setGuiltyObj(guiltyObj);    }     public void setIndex(Integer index) {        pe.setIndex(index);    }       public void setPropertyName(String propertyName) {        pe.setPropertyName(propertyName);    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?