Skip to main content

Class RoutineClientException

The exception that is thrown when an error occurs during routine client operations.

Namespace: Workspace.XBR.Xperiflow.Routines

Assembly: Xperiflow.dll

Declaration
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.GetBaseException
  • System.Exception.GetType
  • System.Exception.ToString
  • System.Exception.Data
  • System.Exception.HelpLink
  • System.Exception.HResult
  • System.Exception.InnerException
  • System.Exception.Message
  • System.Exception.Source
  • System.Exception.StackTrace
  • System.Exception.TargetSite
  • System.Exception.SerializeObjectState
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.MemberwiseClone
  • System.Object.ReferenceEquals(System.Object,System.Object)

Was this page helpful?