Package java.util.jar
Class JarException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- java.util.zip.ZipException
-
- java.util.jar.JarException
-
- All Implemented Interfaces:
Serializable
public class JarException extends ZipException
This runtime exception is thrown when a problem occurs while reading a JAR file.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JarException()Constructs a newJarExceptioninstance.JarException(String detailMessage)Constructs a newJarExceptioninstance with the specified message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
JarException
public JarException()
Constructs a newJarExceptioninstance.
-
JarException
public JarException(String detailMessage)
Constructs a newJarExceptioninstance with the specified message.- Parameters:
detailMessage- the detail message for the exception.
-
-