Beispiel #1
0
 public T ThrowException <T>(AppExceptionType exceptionType) where T : notnull
 {
     ExceptionInfo = new AppException(exceptionType);
     return(default(T));
 }
Beispiel #2
0
 public T ThrowException <T>(string errorMessage, AppExceptionType exceptionType) where T : notnull
 {
     ExceptionInfo = new AppException(errorMessage, exceptionType);
     return(default(T));
 }