Class RoutineClientOperationException
The exception that is thrown when an error occurs during a specific routine client operation, with additional context provided by an inner exception.
Namespace: Workspace.XBR.Xperiflow.Routines
Assembly: Xperiflow.dll
public class RoutineClientOperationException : Exception, ISerializable
Inheritance: System.Object -> System.Exception
Examples
Handling routine client operation exceptions:
try
{
var run = instance.CreateMethodRunAsync("process_data").Result;
}
catch (RoutineClientOperationException ex)
`{
Console.WriteLine($"Operation failed: {ex.Message}`");
Console.WriteLine($"Underlying cause: {ex.InnerException?.Message}");
// Log detailed diagnostic information
logger.LogError(ex, "Routine operation failed with underlying error");
}
Remarks
Workspace.XBR.Xperiflow.Routines.RoutineClientOperationException extends Workspace.XBR.Xperiflow.Routines.RoutineClientException to provide additional context through an inner exception. This exception is typically thrown when a routine operation fails due to an underlying system error, infrastructure issue, or nested operation failure.
Usage Patterns:
-
Wrapping lower-level exceptions (database, network, file system)
-
Providing routine-specific context for infrastructure failures
-
Aggregating multiple operation failures
-
Enriching error information for diagnostics
Diagnostic Information:
The inner exception contains the original error details, while the message provides routine-specific context about what operation was being performed when the error occurred. This combination enables effective troubleshooting and error reporting.
Implements:
System.Runtime.Serialization.ISerializable
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseExceptionSystem.Exception.GetTypeSystem.Exception.ToStringSystem.Exception.DataSystem.Exception.HelpLinkSystem.Exception.HResultSystem.Exception.InnerExceptionSystem.Exception.MessageSystem.Exception.SourceSystem.Exception.StackTraceSystem.Exception.TargetSiteSystem.Exception.SerializeObjectStateSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)