java.module
Class ModuleFormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.module.ModuleFormatException
All Implemented Interfaces:
Serializable

public class ModuleFormatException
extends IOException

Thrown to indicate that the format of the module archive is not recognized or supported.

Since:
1.7.0
Author:
Stanley M. Ho
See Also:
Serialized Form

Constructor Summary
ModuleFormatException(String s)
          Constructs a ModuleFormatException the specified detail message.
ModuleFormatException(String s, Throwable cause)
          Constructs a ModuleFormatException the specified detail message and cause.
 
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

ModuleFormatException

public ModuleFormatException(String s)
Constructs a ModuleFormatException the specified detail message.

Parameters:
s - the detail message.

ModuleFormatException

public ModuleFormatException(String s,
                             Throwable cause)
Constructs a ModuleFormatException the specified detail message and cause.

Parameters:
s - the detail message.
cause - the cause.