| |
- ACSErr.Completion(omniORB.StructBase)
-
- ACSErrOKCompletionImpl(ACSErr.Completion, Acspy.Common.Err.ACSError)
- Acspy.Common.Err.ACSError(Acspy.Common.ErrorTrace.ErrorTraceHelper)
-
- ACSErrOKCompletionImpl(ACSErr.Completion, Acspy.Common.Err.ACSError)
class ACSErrOKCompletionImpl(ACSErr.Completion, Acspy.Common.Err.ACSError) |
|
Some form of custom documentation goes here... |
|
- Method resolution order:
- ACSErrOKCompletionImpl
- ACSErr.Completion
- omniORB.StructBase
- Acspy.Common.Err.ACSError
- Acspy.Common.ErrorTrace.ErrorTraceHelper
- __builtin__.object
Methods defined here:
- __init__(self)
- Constructor
An instance of this class is derived from ACSErr.Completion.
It provides many helper methods from Acspy.Common.Err.
Parameters: None
- getDescription(self)
- getErrorCode(self)
- getErrorType(self)
- isOK(self)
Methods inherited from omniORB.StructBase:
- __repr__(self)
Data descriptors inherited from omniORB.StructBase:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Methods inherited from Acspy.Common.Err.ACSError:
- getErrorTrace(self)
- Overridden
- setErrorTrace(self, et_obj)
- Sets the member error trace
Parameters: et_obj is an ACSErr.ErrorTrace instances
Returns: Nothing
Raises: Nothing
Methods inherited from Acspy.Common.ErrorTrace.ErrorTraceHelper:
- Print(self)
- Prints errortrace information to standard out.
Parameters: None
Returns: Nothing
Raises: Nothing
- addData(self, name, value)
- Adds data to the current error
Parameters: name and value will both be converted to strings.
Returns: Nothing
Raises: Nothing
- errorTraceToString(self, error_trace, ws)
- Converts an error trace to a human-readable string.
Parameters: error_trace is an errortrace
ws is whitespace
Returns: Nothing
Raises: Nothing
- getData(self, name)
- Gets previously set data from the ErrorTrace.
Parameters: name of the data as defined by the addData method
Returns: a list of previously set data (stringified) with the matching
name. This list can be empty if there are no matches
Raises: Nothing
- getFileName(self)
- Returns file name information of the error
Parameters: None
Returns: filename
Raises: Nothing
- getHostName(self)
- Returns host name information of the error
Parameters: None
Returns: hostname
Raises: Nothing
- getLineNumber(self)
- Returns line number information of the error
Parameters: None
Returns: line number
Raises: Nothing
- getNext(self)
- Moves to the next errortrace element and returns a reference to it.
Parameters: None
Returns: the next errortrace element or None if it does not exist
Raises: Nothing
- getProcess(self)
- Returns process information of the error. Its name or process ID.
Parameters: None
Returns: Process ID
Raises: Nothing
- getRoutine(self)
- Returns routine information of the error
Parameters: None
Returns: routine name
Raises: Nothing
- getSeverity(self)
- Returns error severity
Parameters: None
Returns: Severity
Raises: Nothing
- getThread(self)
- Returns thread information of the error. The name of thread or its ID.
Parameters: None
Returns: Thread ID
Raises: Nothing
- getTimeStamp(self)
- Returns time stamp of the error in 100th of nanoseconds.
Parameters: None
Returns: time stamp
Raises: Nothing
- log(self, logger, priority=ACS_LOG_ERROR)
- Logs errortrace information into the ACS logging system.
Parameters:
- priorty which will be used for logging the error
Returns: Nothing
Raises: Nothing
- printET(self, error_trace, ws)
- Prints one error trace to standard out.
Parameters: et is an errortrace
ws is whitespace
Returns: Nothing
Raises: Nothing
- setData(self, name, value)
- Sets data within the ErrorTrace, adding it if it has not been
previously set.
Parameters: name and value will both be converted to strings.
Returns: Nothing
Raises: Nothing
- setError(self, error_code=None, error_type=None)
- Sets the error type/code
Parameters: self-explanatory
Returns: Nothing
Raises: ValueError if invalid parameters are given
- setFileName(self, file_name)
- Sets file name
Parameters: name of the file
Returns: Nothing
Raises: Nothing
- setLineNumber(self, line_number)
- Sets line number
Parameters: the line number
Returns: Nothing
Raises: Nothing
- setSeverity(self, severity)
- Sets error severity
Parameters: severity of the error
Returns: Nothing
Raises: Nothing
- setTimeStamp(self, time)
- Sets time stamp of the error in 100th of nanoseconds.
Parameters: the time stamp of the error
Returns: Nothing
Raises: Nothing
| |