EscanLibException.java 541 B

123456789101112131415161718192021222324
  1. package epson.scan.lib;
  2. public class EscanLibException extends Exception {
  3. private int mEscIVersion;
  4. private int mEscanLibErrorCode;
  5. public EscanLibException(int i) {
  6. this.mEscIVersion = 1;
  7. this.mEscanLibErrorCode = i;
  8. }
  9. public EscanLibException(int i, int i2) {
  10. this.mEscIVersion = i;
  11. this.mEscanLibErrorCode = i2;
  12. }
  13. public int getEscanLibErrorCode() {
  14. return this.mEscanLibErrorCode;
  15. }
  16. public int getEscIVersion() {
  17. return this.mEscIVersion;
  18. }
  19. }