Package com.stata.sfi

Class SFIException

    • Constructor Detail

      • 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 Detail

      • getErrorCode

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