package com.gkhy.testFourierSpecialGasMonitor.commons.exception;
|
|
public class RepeatedClickException extends RuntimeException{
|
|
private String code;
|
private String error;
|
|
public RepeatedClickException(String message) {
|
super(message);
|
}
|
|
|
public RepeatedClickException(String code, String error) {
|
super(error);
|
this.code = code;
|
this.error = error;
|
}
|
|
public String getCode() {
|
return code;
|
}
|
|
public void setCode(String code) {
|
this.code = code;
|
}
|
|
public String getError() {
|
return error;
|
}
|
|
public void setError(String error) {
|
this.error = error;
|
}
|
}
|