Class KfException

java.lang.Object
java.lang.Throwable
java.lang.Exception
uk.co.sculptor.kflibjava.KfException
All Implemented Interfaces:
Serializable

public class KfException extends Exception
Sculptor Keyed file Exception class
Author:
Marcos Gutierrez Batz
See Also:
  • Constructor Details

    • KfException

      public KfException(String message)
      Create a KfException with a message.
      Parameters:
      message - Exception reason message.
    • KfException

      public KfException(String message, int errno)
      Creating a KfException with a message and KfStat value.
      Parameters:
      message - Exception reason message.
      errno - Error number
    • KfException

      public KfException(String message, KeyedFile.KfStat kfStat)
      Create a KfException with a message and KfStat value.
      Parameters:
      message - Exception reason message.
      kfStat - Key file status
    • KfException

      public KfException(String message, KeyedFile.KfStat kfStat, int errno)
      Creating a KfException with a message and KfStat value.
      Parameters:
      message - Exception reason message.
      kfStat - Key file status
      errno - Error number
  • Method Details

    • getErrno

      public int getErrno()
      Gets the system errno value (if any) asociated with the exception
      Returns:
      the errno
    • getKfStat

      public KeyedFile.KfStat getKfStat()
      Gets the Sculptor keyed file status of tyhe exception
      Returns:
      The kfStat