RELATEED CONSULTING
相关咨询
选择下列产品马上在线沟通
服务时间:8:30-17:00
你可能遇到了下面的问题
关闭右侧工具栏

新闻中心

这里有您想知道的互联网营销解决方案
创新互联鸿蒙OS教程:鸿蒙OSNumberFormatException

NumberFormatException

创新互联是专业的鹿邑网站建设公司,鹿邑接单;提供成都网站设计、成都网站制作,网页设计,网站设计,建网站,PHP网站建设等专业做网站服务;采用PHP框架,可快速的进行鹿邑网站开发网页制作和功能扩展;专业做搜索引擎喜爱的网站,专业的做网站团队,希望更多企业前来合作!

java.lang.Object

|---java.lang.Throwable

|---|---java.lang.Exception

|---|---|---java.lang.RuntimeException

|---|---|---|---java.lang.IllegalArgumentException

|---|---|---|---|---java.lang.NumberFormatException

public class NumberFormatException
extends IllegalArgumentException

抛出以指示应用程序已尝试将字符串转换为其中一种数字类型,但该字符串没有适当的格式。

构造函数摘要

构造函数 描述
NumberFormatException()构造一个没有详细消息的 NumberFormatException。
NumberFormatException(String s)构造带有指定详细消息的 NumberFormatException。

方法总结

从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从类 java.lang.Throwable 继承的方法
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

构造函数详细信息

NumberFormatException

public NumberFormatException()

构造一个没有详细消息的 NumberFormatException。

NumberFormatException

public NumberFormatException(String s)

构造带有指定详细消息的 NumberFormatException。

参数:

参数名称 参数描述
s详细信息。

新闻名称:创新互联鸿蒙OS教程:鸿蒙OSNumberFormatException
URL链接:http://www.jxjierui.cn/article/dpgdjpo.html