Package uk.co.sculptor.kflibjava
Class KfException
java.lang.Object
java.lang.Throwable
java.lang.Exception
uk.co.sculptor.kflibjava.KfException
- All Implemented Interfaces:
Serializable
Sculptor Keyed file Exception class
- Author:
- Marcos Gutierrez Batz
- See Also:
-
Constructor Summary
ConstructorDescriptionKfException
(String message) Create a KfException with a message.KfException
(String message, int errno) Creating a KfException with a message and KfStat value.KfException
(String message, KeyedFile.KfStat kfStat) Create a KfException with a message and KfStat value.KfException
(String message, KeyedFile.KfStat kfStat, int errno) Creating a KfException with a message and KfStat value. -
Method Summary
Modifier and TypeMethodDescriptionint
getErrno()
Gets the system errno value (if any) asociated with the exceptionGets the Sculptor keyed file status of tyhe exceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
KfException
Create a KfException with a message.- Parameters:
message
- Exception reason message.
-
KfException
Creating a KfException with a message and KfStat value.- Parameters:
message
- Exception reason message.errno
- Error number
-
KfException
Create a KfException with a message and KfStat value.- Parameters:
message
- Exception reason message.kfStat
- Key file status
-
KfException
Creating a KfException with a message and KfStat value.- Parameters:
message
- Exception reason message.kfStat
- Key file statuserrno
- Error number
-
-
Method Details
-
getErrno
public int getErrno()Gets the system errno value (if any) asociated with the exception- Returns:
- the errno
-
getKfStat
Gets the Sculptor keyed file status of tyhe exception- Returns:
- The kfStat
-