storeexception.java

来自「WAP PUSH后台源码,WAP PUSH后台源码」· Java 代码 · 共 38 行

JAVA
38
字号
package com.sxit.wap.exception;import java.util.*;public class StoreException extends Exception {  int companyId = 0;  int storageId = 0;  int productId = 0;  int productCount = 0;  int storeCount = 0;  public StoreException(String message){    super(message);  }  public StoreException(int companyId, int storageId, int productId, int productCount, int storeCount) {    this.companyId = companyId;    this.storageId = storageId;    this.productId = productId;    this.productCount = productCount;    this.storeCount = storeCount;  }  public StoreException(){    super();  }  public int getCompanyId() {    return companyId;  }  public int getProductCount() {    return productCount;  }  public int getProductId() {    return productId;  }  public int getStorageId() {    return storageId;  }  public int getStoreCount() {    return storeCount;  }}

⌨️ 快捷键说明

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