com.github.croesch.micro_debug.error
Class FileFormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.github.croesch.micro_debug.error.FileFormatException
All Implemented Interfaces:
Serializable

public class FileFormatException
extends IOException

Signals that a file being read has another format than expected.

Since:
Date: Nov 19, 2011
Author:
croesch
See Also:
Serialized Form

Constructor Summary
FileFormatException()
          Constructs an FileFormatException with null as its error detail message.
FileFormatException(String message)
          Constructs an FileFormatException with the specified detail message.
FileFormatException(String message, Throwable cause)
          Constructs an FileFormatException with the specified detail message and cause.
FileFormatException(Throwable cause)
          Constructs an FileFormatException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of 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

FileFormatException

public FileFormatException()
Constructs an FileFormatException with null as its error detail message.

Since:
Date: Nov 19, 2011

FileFormatException

public FileFormatException(String message,
                           Throwable cause)
Constructs an FileFormatException with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated into this exception's detail message.

Parameters:
message - The detail message (which is saved for later retrieval by the Throwable.getMessage() method)
cause - The cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
Since:
Date: Nov 19, 2011

FileFormatException

public FileFormatException(String message)
Constructs an FileFormatException with the specified detail message.

Parameters:
message - The detail message (which is saved for later retrieval by the Throwable.getMessage() method)
Since:
Date: Feb 10, 2012

FileFormatException

public FileFormatException(Throwable cause)
Constructs an FileFormatException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

Parameters:
cause - The cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
Since:
Date: Nov 19, 2011


Copyright © 2012. All Rights Reserved.