constructor() method from fcf.Exception class
Package: fcf-framework-core
File: fcf-framework-core:fcf.js
Available from version: 2.0.2
Class constructor
Arguments
- Event name
- If an argument is passed, the object's error name is set to "ERROR" , and the error property is set to the argument passed.
- An object containing the fields of the fcf.Exception object, but which may not be derived from this class, the fields of the passed argument fall into the new object, can be used when passing error data using serialization.
- An object containing additional fields added to the created object that will be used when tokenizing the message string
- The base error object that caused the current error to be generated. If the argument is given, then an exception field with a value equal to a_subException is added to the created object. And when an error message is displayed, there will be the possibility of outputting child errors.