caplin.component.ErrorComponent
when it fails to create a normal
caplin.component.Component
.
The ErrorComponent
class is used by the application internally to display errors
to end-users. The following information is provided so that developers can specify the
ErrorComponent
's generic error message and style it on the display.
To change the displayed appearance of this message, modify the CSS class
loading_message
.
Attributes | Name and Description |
---|---|
|
caplin.component.ErrorComponent(String sErrorMessage, String sComponentXml, Object oException)
Constructs an |
►
caplin.component.ErrorComponent(String sErrorMessage, String sComponentXml, Object oException)
Constructs an ErrorComponent
with the specified error message, component XML string
and exception.
String | sErrorMessage | A human readable error message that explains why the
ErrorComponent was created. |
String | sComponentXml | The component XML string that caused an
ErrorComponent to be created rather than the intended component. |
Object | oException Optional | The exception that was thrown whilst attempting to create
a component from the specified XML string. If omitted this will default to
null . |