新聞中心
FormException

京山網(wǎng)站制作公司哪家好,找創(chuàng)新互聯(lián)公司!從網(wǎng)頁設計、網(wǎng)站建設、微信開發(fā)、APP開發(fā)、響應式網(wǎng)站設計等網(wǎng)站項目制作,到程序開發(fā),運營維護。創(chuàng)新互聯(lián)公司從2013年開始到現(xiàn)在10年的時間,我們擁有了豐富的建站經(jīng)驗和運維經(jīng)驗,來保證我們的工作的順利進行。專注于網(wǎng)站建設就選創(chuàng)新互聯(lián)公司。
java.lang.Object
|---java.lang.Throwable
|---|---java.lang.Exception
|---|---|---ohos.aafwk.ability.FormException
& public class FormException
& extends Exception
描述在 Form 操作過程中發(fā)生錯誤時引發(fā)的異常。
嵌套類摘要
| 修飾符和類型 | 類 | 描述 |
|---|---|---|
| static class | FormException.FormError | FormError 表示表單錯誤代碼和錯誤信息。 |
方法總結
| 修飾符和類型 | 方法 | 描述 |
|---|---|---|
| FormException.FormError | getErrorCode() | 獲取此 FormException 中發(fā)生的 FormError。 |
| String | getMessage() | 返回此 throwable 的詳細消息字符串。 |
| 從 java.lang.Object 類繼承的方法 |
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 從 java.lang.Throwable 類繼承的方法 |
|---|
| addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
方法詳情
getMessage
public String getMessage()
返回此 throwable 的詳細消息字符串。
覆蓋:
Throwable 類中的 getMessage
返回:
此 FormError 實例的詳細消息字符串(可能為 null)。
getErrorCode
public FormException.FormError getErrorCode()
獲取此 FormException 中發(fā)生的 FormError。
返回:
返回此 FormException 中發(fā)生的 FormError。
本文題目:創(chuàng)新互聯(lián)鴻蒙OS教程:鴻蒙OS FormException
文章轉載:http://fisionsoft.com.cn/article/dheipio.html


咨詢
建站咨詢
