package kr.wisestone.owl.exception;
|
|
import kr.wisestone.owl.vo.MessageVo;
|
|
public class ApiAuthException extends OwlRuntimeException {
|
private static final long serialVersionUID = 1L;
|
|
public ApiAuthException() {
|
super();
|
}
|
|
public ApiAuthException(String code, final String message,
|
final Throwable cause) {
|
super(code, message, cause);
|
this.code = code;
|
}
|
|
public ApiAuthException(String code, final String message) {
|
super(message);
|
this.code = code;
|
}
|
|
public ApiAuthException(MessageVo message) {
|
super(message.getMessage());
|
this.code = message.getCode();
|
}
|
|
public ApiAuthException(Exception e) {
|
super(e);
|
}
|
|
public ApiAuthException(String code) {
|
this.code = code;
|
}
|
|
public ApiAuthException(String code, Exception e) {
|
super(e);
|
this.code = code;
|
}
|
}
|