java.util jar_JarException

JarException Class

Definition

Assembly:Mono.Android.dll

This runtime exception is thrown when a problem occurs while reading a JAR

file.

In this article

[Android.Runtime.Register("java/util/jar/JarException", ApiSince=1, DoNotGenerateAcw=true)]

public class JarException : Java.Util.Zip.ZipException

type JarException = class

inherit ZipException

Remarks

Portions of this page are modifications based on work created and shared by the

Constructors

Constructs a new JarException instance.

A constructor used when creating managed representations of JNI objects; called by the runtime.

Constructs a new JarException instance with the specified

message.

Fields

Properties

Returns the cause of this Throwable, or null if there is

no cause.

(Inherited from Throwable)

(Inherited from Throwable)

The handle to the underlying Android instance.

(Inherited from Throwable)

Returns the detail message which was provided when this

Throwable was created.

(Inherited from Throwable)

Returns the detail message which was provided when this

Throwable was created.

(Inherited from Throwable)

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Methods

Adds throwable to the list of throwables suppressed by this.

(Inherited from Throwable)

Records the stack trace from the point where this method has been called

to this Throwable.

(Inherited from Throwable)

Returns a clone of the array of stack trace elements of this Throwable.

(Inherited from Throwable)

Returns the throwables suppressed by this.

(Inherited from Throwable)

Initializes the cause of this Throwable.

(Inherited from Throwable)

Writes a printable representation of this Throwable's stack trace

to the System.err stream.

(Inherited from Throwable)

Writes a printable representation of this Throwable's stack trace

to the given print stream.

(Inherited from Throwable)

Writes a printable representation of this Throwable's stack trace

to the specified print writer.

(Inherited from Throwable)

Sets the array of stack trace elements.

(Inherited from Throwable)

Explicit Interface Implementations

Extension Methods

Applies to

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
java.utilJava编程语言的一个核心类库包,提供了一系列与数据处理、日期、时间、集合等相关的类和接口。它是Java SDK(Software Development Kit)中的一部分,属于Java标准库的一部分。 java.util jar包是包含了java.util中类和接口的Java归档文件(JAR文件)。JARJava Archive的缩写,它是一种类似于ZIP格式的压缩文件,用于在Java应用程序中存储和分发类库、资源文件等。JAR文件能够将多个相关的文件打包成一个文件,方便进行管理和使用。 使用java.util jar包,我们可以方便地访问和使用其中提供的各种类和接口。例如,通过使用java.util.jar包中的类,我们可以实现压缩和解压缩文件的功能;通过使用java.util.concurrent包中的类,我们可以实现多线程编程;通过使用java.util.collections包中的类,我们可以实现各种集合的操作。 在Java开发中,通过引入并使用java.util jar包,我们能够省去很多编写重复代码的工作,提高开发效率,并且能够利用其中已经实现的功能来解决各种问题。同时,java.util jar包的广泛使用也使得Java开发者能够更加方便地共享和使用现有的代码库,提高了代码的可重用性和可维护性。 总之,java.util jar包是Java标准库中的一个重要部分,提供了丰富的类和接口,能够帮助我们进行各种常见的应用程序编程任务。它的使用能够提高开发效率和代码的可重用性,是Java开发不可或缺的一个工具。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值