Class RoutineClientException
The exception that is thrown when an error occurs during routine client operations.
Namespace: Workspace.XBR.Xperiflow.Routines
Assembly: Xperiflow.dll
public class RoutineClientException : Exception, ISerializable
Inheritance: System.Object -> System.Exception
Examples
Handling routine client exceptions:
try
{
var instance = routineClient.CreateRoutineInstanceAsync("invalid-routine", "1.0.0").Result;
}
catch (RoutineClientException ex)
`{
Console.WriteLine($"Routine operation failed: {ex.Message}`");
// Handle the error appropriately
}
Remarks
Workspace.XBR.Xperiflow.Routines.RoutineClientException represents errors that occur within the routine client layer, typically related to business logic validation, API communication issues, or routine-specific operational failures. This exception serves as the base exception type for routine client operations.
Common Scenarios:
-
Invalid routine type or version specifications
-
Routine instance not found or inaccessible
-
API communication failures with the routine service
-
Authentication or authorization failures
-
Resource constraint violations (e.g., memory limits)
Error Handling:
Applications should catch this exception when performing routine operations and provide appropriate user feedback or retry logic based on the specific error context.
Derived: Workspace.XBR.Xperiflow.Routines.Artifacts.ArtifactException, Workspace.XBR.Xperiflow.Routines.Instances.RoutineInstanceException, Workspace.XBR.Xperiflow.Routines.Runs.RunException
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)