Packageorg.flexunit.experimental.theories.internals
Classpublic class ParameterizedAssertionError
InheritanceParameterizedAssertionError Inheritance AssertionError Inheritance Error

Thrown when an assertion is false and provides the parameters that caused the test to fail.



Public Properties
 PropertyDefined By
  targetException : Error
The exception that was thrown.
ParameterizedAssertionError
Public Methods
 MethodDefined By
  
ParameterizedAssertionError(targetException:Error, methodName:String, ... params)
Constructor.
ParameterizedAssertionError
  
join(delimiter:String, ... params):String
[static] Performs an Array join on params.
ParameterizedAssertionError
Property Detail
targetExceptionproperty
public var targetException:Error

The exception that was thrown.

Constructor Detail
ParameterizedAssertionError()Constructor
public function ParameterizedAssertionError(targetException:Error, methodName:String, ... params)

Constructor.

Parameters
targetException:Error — The exception that was thrown.
 
methodName:String — The name of the method that threw the exception.
 
... params — The parameters that were provided to the method that threw the exception.
Method Detail
join()method
public static function join(delimiter:String, ... params):String

Performs an Array join on params. Candidate for remocal in future refactor

Parameters

delimiter:String
 
... params

Returns
String — a concatenated string