All Downloads are FREE. Search and download functionalities are using the official Maven repository.

wechat.common.exception.WxErrorException Maven / Gradle / Ivy

The newest version!
package wechat.common.exception;

import wechat.common.bean.result.WxError;

public class WxErrorException extends Exception {

  private static final long serialVersionUID = -6357149550353160810L;

  private WxError error;

  public WxErrorException(WxError error) {
    super(error.toString());
    this.error = error;
  }

  public WxErrorException(WxError error, Throwable cause) {
    super(error.toString(), cause);
    this.error = error;
  }

  public WxError getError() {
    return this.error;
  }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy