| 123456789101112131415161718 |
- using Quadarax.Foundation.Core.Exceptions;
- namespace Quadarax.Application.QLiberace.Common
- {
- public static class ExceptionFactory
- {
- private static ExceptionLibrary _instance = new ExceptionLibrary();
- public static CodeException CreateException(int code, params string[] messageParams)
- {
- return _instance.CreateException(code, messageParams);
- }
- public static CodeException CreateException(int code, Exception innerException, params string[] messageParams)
- {
- return _instance.CreateException(code, innerException, messageParams);
- }
- }
- }
|