Package com.stata.sfi

Class SFIException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FrameException

public class SFIException extends Exception
Represents a general exception that encapsulates an error code.
See Also:
  • Constructor Details

    • SFIException

      public SFIException()
      Constructs an instance of SFIException with null as its detail message and 0 as its error code.
    • SFIException

      public SFIException(int errorCode)
      Constructs an instance of SFIException with the specified error code.
      Parameters:
      errorCode - The error code.
    • SFIException

      public SFIException(String message, int errorCode)
      Constructs an instance of SFIException with the specified detail message and error code.
      Parameters:
      message - The detail message.
      errorCode - The error code.
  • Method Details

    • getErrorCode

      public int getErrorCode()
      Get the error code.
      Returns:
      The value of the error code.