Workspace 6.21.5
Public Types | Public Member Functions | Public Attributes | List of all members
AbortReason Class Reference

class to give execution abort a reason.

#include <Workspace/DataExecution/Execution/abortreason.h>

Public Types

enum  AbortReasonCode : quint32 {
  UnknownError = 0xffff0000 , ExecutionFailure = 0x00010000 , DuplicateUuid = 0x00020000 , NoLicense ,
  SchedulerStopping , MaxRetryCountExceeded , NoSchedulerMeetRequirements , Queued ,
  Disconnect = 0x00030000 , SocketError , StopByClient , UnknownWorkflowUuid ,
  InvalidParameters = 0x00040000 , FailedToSpawnProcess , ResultMergeFail = 0x00050000 , TimeoutReached ,
  JobOutputEmpty = 0x00060000 , JobOutputNoExitCode , JobOutputFormatError , JobOutputExitCodeFormatError ,
  NoRetryRuleAfterError , NoErrorOutputForRetry , NoRetryRuleAfterFail
}
 

Public Member Functions

 AbortReason ()
 
 AbortReason (AbortReasonCode arc)
 
 AbortReason (QAbstractSocket::SocketError socketError)
 
QString toString () const
 

Public Attributes

union {
   int   dummy_ {}
 
   QAbstractSocket::SocketError   socketError_
 
}; 
 
AbortReasonCode code_
 

Member Enumeration Documentation

◆ AbortReasonCode

enum AbortReasonCode : quint32
Enumerator
UnknownError 
ExecutionFailure 
DuplicateUuid 
NoLicense 
SchedulerStopping 
MaxRetryCountExceeded 
NoSchedulerMeetRequirements 
Queued 
Disconnect 
SocketError 
StopByClient 
UnknownWorkflowUuid 
InvalidParameters 
FailedToSpawnProcess 
ResultMergeFail 
TimeoutReached 
JobOutputEmpty 
JobOutputNoExitCode 
JobOutputFormatError 
JobOutputExitCodeFormatError 
NoRetryRuleAfterError 
NoErrorOutputForRetry 
NoRetryRuleAfterFail 

Constructor & Destructor Documentation

◆ AbortReason() [1/3]

AbortReason ( )
inline

◆ AbortReason() [2/3]

AbortReason ( AbortReasonCode  arc)
inline

◆ AbortReason() [3/3]

AbortReason ( QAbstractSocket::SocketError  socketError)
inline

Member Function Documentation

◆ toString()

QString toString ( ) const
Returns
A human readable string for the abort reason.

Member Data Documentation

◆ 

union { ... } @123

◆ code_

◆ dummy_

int dummy_ {}

◆ socketError_

QAbstractSocket::SocketError socketError_