JarException

  • JarException signals errors during JAR file reading or writing.

  • It extends ZipException and provides constructors for detailed or generic error messages.

  • JarException inherits methods from Throwable for managing and displaying exception information like stack traces.

  • It also inherits methods from Object for basic object operations like cloning and comparison.

  • Two public constructors allow creating a JarException with or without a specific error message.

public class JarException extends ZipException

Signals that an error of some sort has occurred while reading from or writing to a JAR file.

Public Constructor Summary

JarException()
Constructs a JarException with no detail message.
JarException(String s)
Constructs a JarException with the specified detail message.

Inherited Method Summary

Public Constructors

public JarException ()

Constructs a JarException with no detail message.

public JarException (String s)

Constructs a JarException with the specified detail message.

Parameters
s the detail message