ztex
Class ImgFileDamagedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ztex.ImgFileDamagedException
All Implemented Interfaces:
java.io.Serializable

public class ImgFileDamagedException
extends java.lang.Exception

Signals that a firmware image is corrupt.

See Also:
Serialized Form

Constructor Summary
ImgFileDamagedException(java.lang.String filename, int line, java.lang.String msg)
          Constructs an instance from a given file name, line number and error message.
ImgFileDamagedException(java.lang.String filename, java.lang.String msg)
           
 
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

ImgFileDamagedException

public ImgFileDamagedException(java.lang.String filename,
                               int line,
                               java.lang.String msg)
Constructs an instance from a given file name, line number and error message.

Parameters:
filename - The file name.
line - The line number.
msg - An error message.

ImgFileDamagedException

public ImgFileDamagedException(java.lang.String filename,
                               java.lang.String msg)