public class FileIOException
extends java.io.IOException
LineNumberReader.| Modifier and Type | Field and Description |
|---|---|
@Nullable java.lang.String |
fileName
The file being read when the IOException occurred.
|
int |
lineNumber
The line being read when the IOException occurred.
|
| Constructor and Description |
|---|
FileIOException()
Create a dummy FileIOException.
|
FileIOException(@Nullable java.io.LineNumberReader reader,
java.io.File file,
@Nullable java.lang.Throwable cause)
Create a FileIOException.
|
FileIOException(@Nullable java.io.LineNumberReader reader,
@Nullable java.lang.String fileName,
@Nullable java.lang.Throwable cause)
Create a FileIOException.
|
FileIOException(@Nullable java.io.LineNumberReader reader,
@Nullable java.lang.Throwable cause)
Create a FileIOException.
|
FileIOException(@Nullable java.lang.String message)
Create a FileIOException with no known file name or line number (which is kind of pointless;
you might as well just have a regular exception).
|
FileIOException(@Nullable java.lang.String message,
@Nullable java.io.LineNumberReader reader)
Create a FileIOException.
|
FileIOException(@Nullable java.lang.String message,
@Nullable java.io.LineNumberReader reader,
java.io.File file)
Create a FileIOException.
|
FileIOException(@Nullable java.lang.String message,
@Nullable java.io.LineNumberReader reader,
java.io.File file,
@Nullable java.lang.Throwable cause)
Create a FileIOException.
|
FileIOException(@Nullable java.lang.String message,
@Nullable java.io.LineNumberReader reader,
@Nullable java.lang.String fileName)
Create a FileIOException.
|
FileIOException(@Nullable java.lang.String message,
@Nullable java.io.LineNumberReader reader,
@Nullable java.lang.String fileName,
@Nullable java.lang.Throwable cause)
Create a FileIOException.
|
FileIOException(@Nullable java.lang.String message,
@Nullable java.io.LineNumberReader reader,
@Nullable java.lang.Throwable cause)
Create a FileIOException.
|
FileIOException(@Nullable java.lang.String message,
@Nullable java.lang.String fileName,
int lineNumber)
Create a FileIOException.
|
FileIOException(@Nullable java.lang.String message,
@Nullable java.lang.Throwable cause)
Create a FileIOException.
|
FileIOException(@Nullable java.lang.String message,
@Nullable java.lang.Throwable cause,
@Nullable java.lang.String fileName,
int lineNumber)
Create a FileIOException.
|
FileIOException(@Nullable java.lang.Throwable cause)
Create a FileIOException.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
public final @Nullable java.lang.String fileName
public final int lineNumber
public FileIOException()
public FileIOException(@Nullable java.lang.Throwable cause)
cause - the exception that occurredpublic FileIOException(@Nullable java.lang.String message)
message - the detail messagepublic FileIOException(@Nullable java.lang.String message,
@Nullable java.lang.Throwable cause)
message - the detail message for the exceptioncause - the exception that occurredpublic FileIOException(@Nullable java.lang.String message,
@Nullable java.lang.String fileName,
int lineNumber)
message - the detail message for the exceptionfileName - the name of the file being readlineNumber - the line number to which the file has been readpublic FileIOException(@Nullable java.lang.String message,
@Nullable java.lang.Throwable cause,
@Nullable java.lang.String fileName,
int lineNumber)
message - the detail message for the exceptioncause - the exception that occurredfileName - the name of the file being readlineNumber - the line number to which the file has been readpublic FileIOException(@Nullable java.io.LineNumberReader reader,
@Nullable java.lang.Throwable cause)
reader - the reader for the file being read (used for the line number only; no file name
is known)cause - the exception that occurredpublic FileIOException(@Nullable java.lang.String message,
@Nullable java.io.LineNumberReader reader)
message - the detail message for the exceptionreader - indicates the line number at which the exception occurred; there is no known file
namepublic FileIOException(@Nullable java.lang.String message,
@Nullable java.io.LineNumberReader reader,
@Nullable java.lang.Throwable cause)
message - the detail message for the exceptionreader - the reader for the file being readcause - the exception that occurredpublic FileIOException(@Nullable java.lang.String message,
@Nullable java.io.LineNumberReader reader,
@Nullable java.lang.String fileName)
message - the detail message for the exceptionreader - the reader for the file being read (used for the line number only)fileName - the name of the file being readpublic FileIOException(@Nullable java.io.LineNumberReader reader,
@Nullable java.lang.String fileName,
@Nullable java.lang.Throwable cause)
reader - the reader for the file being read (used for the line number only)fileName - the name of the file being readcause - the exception that occurredpublic FileIOException(@Nullable java.lang.String message,
@Nullable java.io.LineNumberReader reader,
@Nullable java.lang.String fileName,
@Nullable java.lang.Throwable cause)
message - the detail message for the exceptionreader - the reader for the file being read (used for the line number only)fileName - the name of the file being readcause - the exception that occurredpublic FileIOException(@Nullable java.lang.String message,
@Nullable java.io.LineNumberReader reader,
java.io.File file)
message - the detail message for the exceptionreader - the reader for the file being read (used for the line number only)file - the file being read (used for its name only)public FileIOException(@Nullable java.lang.String message,
@Nullable java.io.LineNumberReader reader,
java.io.File file,
@Nullable java.lang.Throwable cause)
message - the detail message for the exceptionreader - the reader for the file being read (used for the line number only)file - the file being read (used for its name only)cause - the exception that occurredpublic FileIOException(@Nullable java.io.LineNumberReader reader,
java.io.File file,
@Nullable java.lang.Throwable cause)
reader - the reader for the file being read (used for the line number only)file - the file being read (used for its name only)cause - the exception that occurred