saker.build Documentation TaskDoc JavaDoc
public class InvalidFileTypeException extends IOException
Exception representing a scenario when the expected, and actual type of a given file doesn't equal.
Constructors
public
Constructs an IOException with null as its error detail message.
public
Constructs an IOException with the specified detail message.
public
Constructs an IOException with the specified detail message and cause.
public
Constructs an IOException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
Documentation included from: IOException
Constructs an IOException with null as its error detail message.
Documentation included from: IOException
Constructs an IOException with the specified detail message.
messageThe detail message (which is saved for later retrieval by the Throwable.getMessage() method)
Documentation included from: IOException
Constructs an IOException 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.

messageThe detail message (which is saved for later retrieval by the Throwable.getMessage() method)
causeThe 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.)
1.6
Documentation included from: IOException
Constructs an IOException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for IO exceptions that are little more than wrappers for other throwables.
causeThe 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.)
1.6