Module RandomTrainSimWorld2.main
Class FileNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.FileNotFoundException
com.github.freddyyj.randomtrainsimworld.exception.FileNotFoundException
- All Implemented Interfaces:
Serializable
public class FileNotFoundException extends FileNotFoundException
throws if file is not exist
Overrides FileNotFoundException
, but has additional argument which file occurs error.
- Version:
- 0.2.0
- Author:
- FreddyYJ_
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description FileNotFoundException(String file)
Constructor with file nameFileNotFoundException(String message, String file)
-
Method Summary
Modifier and Type Method Description String
getErrorFile()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FileNotFoundException
Constructor with file name- Parameters:
file
- File name that occurs error
-
FileNotFoundException
-
-
Method Details