java.util.jar
Class JarException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.util.zip.ZipException
                  extended by java.util.jar.JarException
All Implemented Interfaces:
Serializable

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
See Also:
Serialized Form

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.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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:
Throwable.getMessage()