Class FBXAException

All Implemented Interfaces:
Serializable

public class FBXAException extends XAException
Convenience exception that adds constructor taking message and error code together.
Author:
Roman Rokytskyy
See Also:
  • Constructor Details

    • FBXAException

      public FBXAException(String msg)
      Create a new instance of FBXAException with a given message.
      Parameters:
      msg - string message for this exception
    • FBXAException

      public FBXAException(int errorCode)
      Create a new instance of FBXAException based around a specific error code.
      Parameters:
      errorCode - error code for this exception
    • FBXAException

      public FBXAException(String msg, int errorCode)
      Create a new instance of FBXAException based around a message and specific error code.
      Parameters:
      msg - string message for this exception
      errorCode - error code for this exception
    • FBXAException

      public FBXAException(int errorCode, Exception reason)
      Create a new instance of FBXAException wrapped around an underlying exception.
      Parameters:
      errorCode - error code for this exception
      reason - underlying exception
    • FBXAException

      public FBXAException(String msg, int errorCode, Exception reason)
      Create a new instance of FBXAException based around a message and with an underlying exception.
      Parameters:
      msg - string message for this exception
      errorCode - error code for this exception
      reason - underlying exception
  • Method Details

    • getMessage

      public String getMessage()
      Get message of this exception.
      Overrides:
      getMessage in class Throwable
      Returns:
      combined message of this exception and original exception.