Package com.qcefast.exceptions
Class FastException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.qcefast.exceptions.FastException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
FastElementNotFoundException
,FastNavigatorException
,FrameworkNotSupportedException
public class FastException extends java.lang.Exception
This class is used to handle exceptions that occur while running the fast framework- Since:
- 1.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FastException()
Instantiates a new Fast exception.FastException(Framework framework, Status status)
Instantiates a new Fast exceptionFastException(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 theFailType
of this FastExceptionFramework
getFramework()
Returns theFramework
being used when this exception was causedStatus
getStatus()
Returns the status that was thrown with this exceptionvoid
setFailType(FailType failType)
Sets theFailType
of this FastExceptionvoid
setFramework(Framework framework)
Sets theFramework
being used when this exception was thrown
-
-
-
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 frameworkstatus
- TheStatus
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 frameworkstatus
- TheStatus
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 frameworkcause
- Exception The exception that was caught while running the fast frameworkstatus
- TheStatus
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 frameworkcause
- 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
-
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 frameworkcause
- Exception The exception that was caught while running the fast frameworkframework
- TheFramework
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 theFramework
being used when this exception was caused- Returns:
- Framework of this exception
- Since:
- 1.0.0
-
setFramework
public void setFramework(Framework framework)
Sets theFramework
being used when this exception was thrown- Parameters:
framework
-Framework
- Since:
- 1.0.0
-
getFailType
public FailType getFailType()
Returns theFailType
of this FastException- Returns:
- A
FailType
- Since:
- 1.0.0
-
-