Class FastException

    • Constructor Summary

      Constructors 
      Constructor Description
      FastException()
      Instantiates a new Fast exception.
      FastException​(Framework framework, Status status)
      Instantiates a new Fast exception
      FastException​(java.lang.String message)
      Instantiates a new Fast exception.
      FastException​(java.lang.String message, Status status)
      Instantiates a new Fast exception.
      FastException​(java.lang.String message, java.lang.Throwable cause)
      Instantiates a new Fast exception.
      FastException​(java.lang.String message, java.lang.Throwable cause, Framework framework)
      Instantiates a new Fast exception.
      FastException​(java.lang.String message, java.lang.Throwable cause, Status status)
      Instantiates a new Fast exception.
      FastException​(java.lang.Throwable cause, Status status)
      Instantiates a new Fast exception.
    • Method Summary

      Modifier and Type Method Description
      FailType getFailType()
      Returns the FailType of this FastException
      Framework getFramework()
      Returns the Framework being used when this exception was caused
      Status getStatus()
      Returns the status that was thrown with this exception
      void setFailType​(FailType failType)
      Sets the FailType of this FastException
      void setFramework​(Framework framework)
      Sets the Framework being used when this exception was thrown
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FastException

        public FastException()
        Instantiates a new Fast exception.
        Since:
        1.0.0
      • FastException

        public FastException​(java.lang.String message)
        Instantiates a new Fast exception.
        Parameters:
        message - Exception A message from an exception that was caught while running the fast framework
        Since:
        1.0.0
      • FastException

        public FastException​(java.lang.String message,
                             Status status)
        Instantiates a new Fast exception.
        Parameters:
        message - Exception message A message from an exception that was caught while running the fast framework
        status - The Status that the fast framework treats the caught exception with
        Since:
        1.0.0
      • FastException

        public FastException​(java.lang.Throwable cause,
                             Status status)
        Instantiates a new Fast exception.
        Parameters:
        cause - Exception The exception that was caught while running the fast framework
        status - The Status that the fast framework treats the caught exception with
        Since:
        1.0.0
      • FastException

        public FastException​(java.lang.String message,
                             java.lang.Throwable cause,
                             Status status)
        Instantiates a new Fast exception.
        Parameters:
        message - Exception message A message from an exception that was caught while running the fast framework
        cause - Exception The exception that was caught while running the fast framework
        status - The Status that the fast framework treats the caught exception with
        Since:
        1.0.0
      • FastException

        public FastException​(java.lang.String message,
                             java.lang.Throwable cause)
        Instantiates a new Fast exception.
        Parameters:
        message - Exception message A message from an exception that was caught while running the fast framework
        cause - Exception The exception that was caught while running the fast framework
        Since:
        1.0.0
      • FastException

        public FastException​(Framework framework,
                             Status status)
        Instantiates a new Fast exception
        Parameters:
        framework - The Framework being used when this exception occurred
        status - The Status that the fast framework treats the caught exception with
        Since:
        1.0.0
      • FastException

        public FastException​(java.lang.String message,
                             java.lang.Throwable cause,
                             Framework framework)
        Instantiates a new Fast exception.
        Parameters:
        message - Exception message A message from an exception that was caught while running the fast framework
        cause - Exception The exception that was caught while running the fast framework
        framework - The Framework being used when this exception occurred
        Since:
        1.0.0
    • Method Detail

      • getStatus

        public Status getStatus()
        Returns the status that was thrown with this exception
        Returns:
        A Status
        Since:
        1.0.0
      • getFramework

        public Framework getFramework()
        Returns the Framework being used when this exception was caused
        Returns:
        Framework of this exception
        Since:
        1.0.0
      • setFramework

        public void setFramework​(Framework framework)
        Sets the Framework being used when this exception was thrown
        Parameters:
        framework - Framework
        Since:
        1.0.0
      • getFailType

        public FailType getFailType()
        Returns the FailType of this FastException
        Returns:
        A FailType
        Since:
        1.0.0
      • setFailType

        public void setFailType​(FailType failType)
        Sets the FailType of this FastException
        Parameters:
        failType - A FailType
        Since:
        1.0.0