eleme.openapi.sdk.media.MediaException Maven / Gradle / Ivy
The newest version!
package eleme.openapi.sdk.media;
/**
* @author jinli Feb 5, 2015
*/
public class MediaException extends RuntimeException {
private static final long serialVersionUID = 1L;
private int status;
private String code;
private String codeMessage;
public MediaException() {
}
public MediaException(String message, Throwable cause) {
super(message, cause);
}
public MediaException(String message) {
super(message);
}
public MediaException(Throwable cause) {
super(cause);
}
public MediaException setCode(int status, String code, String codeMessage) {
this.status = status;
this.code = code;
this.codeMessage = codeMessage;
return this;
}
public int getStatus() {
return status;
}
public String getCode() {
return code;
}
public String getCodeMessage() {
return codeMessage;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy