Constructor
new module:caplin/component/ErrorComponent(sErrorMessage, sComponentXml, oExceptionopt)
Constructs an
ErrorComponent
with the specified error message, component XML string
and exception.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
sErrorMessage |
String | A human readable error message that explains why the
ErrorComponent was created. |
|
sComponentXml |
String | The component XML string that caused an
ErrorComponent to be created rather than the intended component. |
|
oException |
Object |
<optional> |
The exception that was thrown whilst attempting to create
a component from the specified XML string. If omitted this will default to
null . |
- Implements: