类 CJException

    • 字段详细资料

      • exceptionMessage

        protected String exceptionMessage
        We can't override the Throwable.detailMessage directly because it has a private accessibility, thus for that need we use this protected variable and override getMessage()
    • 构造器详细资料

      • CJException

        public CJException()
      • CJException

        public CJException​(String message)
      • CJException

        public CJException​(Throwable cause)
      • CJException

        protected CJException​(String message,
                              Throwable cause,
                              boolean enableSuppression,
                              boolean writableStackTrace)
    • 方法详细资料

      • getSQLState

        public String getSQLState()
      • setSQLState

        public void setSQLState​(String sQLState)
      • getVendorCode

        public int getVendorCode()
      • setVendorCode

        public void setVendorCode​(int vendorCode)
      • isTransient

        public boolean isTransient()
      • setTransient

        public void setTransient​(boolean isTransient)
      • appendMessage

        public void appendMessage​(String messageToAppend)