public class TFileException extends java.io.IOException implements TFileReturnCodes
T
class when an error occurs.TFILE_ERR_CHANGE_WHEN_RUNNING, TFILE_ERR_DIRECTORY, TFILE_ERR_INVALID_PATH, TFILE_ERR_PERMISSION_DENIED, TFILE_ERR_UNKNOWN, TFILE_NO_ERROR
Constructor and Description |
---|
TFileException(int tfileRc)
Creates a new TFileException with a null message and the specified
return code.
|
TFileException(java.lang.String message,
int tfileRc)
Creates a new TFileException with the specified message and return
code.
|
Modifier and Type | Method and Description |
---|---|
int |
getRc()
Gets the return code indicating the reason the exception was thrown.
|
java.lang.String |
toString()
Returns a string representation of this exception
|
public TFileException(int tfileRc)
tfileRc
- The exception return codepublic TFileException(java.lang.String message, int tfileRc)
message
- The exception messagetfileRc
- The exception return codepublic int getRc()
TFileReturnCodes
public java.lang.String toString()
toString
in class java.lang.Throwable