Factory to recreate exceptions from ErrorDescription values passed through the wire.
Description
The ApplicationExceptionFactory acts as a factory to recreate from ErrorDescription values passed through the wire.
Static methods
create
Recreates ApplicationException object from serialized ErrorDescription. It tries to restore original exception type using the type or error category fields.
public static
create(description: ErrorDescription): ApplicationException
- description: ErrorDescription - serialized error description received as a result of remote call.
- returns: ApplicationException - new instance of the ApplicationException.