public WPSProcessException(ErrorInfo error, Exception innerexception)
     : base(error.Message, innerexception)
 {
     Error = error;
 }
 public WPSProcessException(ErrorInfo error)
     : base(error.Message)
 {
     Error = error;
 }