Esempio n. 1
0
 public static TaskException ToTaskException(FacadeTaskException exception)
 {
     return(TaskExceptionFactory.CreateTaskException(exception.Type, exception.Message, exception.StackTrace));
 }
Esempio n. 2
0
 public static TaskException ToTaskException(FacadeTaskException exception)
 {
     return TaskExceptionFactory.CreateTaskException(exception.Type, exception.Message, exception.StackTrace);
 }
 /// <inheritdoc />
 public void TaskException(FacadeTask task, FacadeTaskException[] exceptions)
 {
     try
     {
         TaskException[] nativeExceptions = Array.ConvertAll<FacadeTaskException, TaskException>(exceptions, FacadeUtils.ToTaskException);
         server.TaskException(GetRemoteTask(task), nativeExceptions);
     }
     catch (Exception ex)
     {
         throw ServerExceptionUtils.Wrap(ex);
     }
 }