java.util.jar

Class JarException

public class JarException extends ZipException

This exception is thrown to indicate an problem with a jar file. Note that none of the methods in the java.util.jar package actually declare to throw this exception, most just declare that they throw an IOException which is super class of JarException.

Since: 1.2

Constructor Summary
JarException()
Create a new JarException without a descriptive error message.
JarException(String message)
Create a new JarException with a descriptive error message indicating what went wrong.

Constructor Detail

JarException

public JarException()
Create a new JarException without a descriptive error message.

JarException

public JarException(String message)
Create a new JarException with a descriptive error message indicating what went wrong. This message can later be retrieved by calling the getMessage() method.

Parameters: message The descriptive error message

See Also: JarException