Class SystemException

All Implemented Interfaces:
Serializable, Messageable, MessageConst
Direct Known Subclasses:
IllegalSyntaxException, OperationException, XelException

public class SystemException extends RuntimeException implements Messageable
Indicates a system exception.
Author:
tomyeh
See Also:
  • Field Details

    • _code

      protected int _code
  • Constructor Details

    • SystemException

      public SystemException(String msg, Throwable cause)
      Constructs a SystemException by specifying message directly.
    • SystemException

      public SystemException(String msg)
    • SystemException

      public SystemException(Throwable cause)
    • SystemException

      public SystemException()
    • SystemException

      public SystemException(int code, Object[] fmtArgs, Throwable cause)
      Constructs an SystemException by use of an error code. The error code must be defined in one of properties files, e.g., msgsys.properties.
      Parameters:
      code - the error code
      fmtArgs - the format arguments
      cause - the chained throwable object
    • SystemException

      public SystemException(int code, Object fmtArg, Throwable cause)
    • SystemException

      public SystemException(int code, Object[] fmtArgs)
    • SystemException

      public SystemException(int code, Object fmtArg)
    • SystemException

      public SystemException(int code, Throwable cause)
    • SystemException

      public SystemException(int code)
  • Method Details

    • getCode

      public final int getCode()
      Description copied from interface: Messageable
      Gets the message code.
      Specified by:
      getCode in interface Messageable
      Returns:
      the message code