com.foxinmy.weixin4j.exception
Class WeixinException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.foxinmy.weixin4j.exception.WeixinException
All Implemented Interfaces:
Serializable

public class WeixinException
extends Exception

调用微信接口抛出的异常

Since:
JDK 1.6
Author:
jinyu(foxinmy@gmail.com)
See Also:
, Serialized Form

Constructor Summary
WeixinException(String desc)
           
WeixinException(String code, String desc)
           
WeixinException(String message, Throwable cause)
           
WeixinException(Throwable e)
           
 
Method Summary
 String getErrorCode()
           
 String getErrorDesc()
           
 String getErrorText()
           
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WeixinException

public WeixinException(String code,
                       String desc)

WeixinException

public WeixinException(String desc)

WeixinException

public WeixinException(Throwable e)

WeixinException

public WeixinException(String message,
                       Throwable cause)
Method Detail

getErrorCode

public String getErrorCode()

getErrorDesc

public String getErrorDesc()

getErrorText

public String getErrorText()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2014–2017. All rights reserved.