The destructor for the class. Do not call this directly. Call the release() procedure instead
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(FTException) | :: | self |
Generic Name: init()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTObject) | :: | self |
Returns a character string of length DESCRIPTION_CHARACTER_LENGTH that represents the object. the base class implementation returns an empty string. Note that if the description is too long, the expected string will be truncated. In general, one wants to use printDescription.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTObject) | :: | self |
Base class implementation of the assignment function. Call this from within any subclasses copy assignment function. All FTObject's implementation does is set the reference count to one, implying no additional ownership to the caller that is creating the copy.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTObject), | intent(in) | :: | self |
Retain increases the reference count by one and implies ownership to the caller. ### Usage: CALL obj\ % retain()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTObject) | :: | self |
Owners of objects should call isUnreferenced after releasing a pointer object. If true, the object should be deallocated and then set to point to NULL()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTObject) | :: | self |
The main initializer for the class
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTException) | :: | self | ||||
integer | :: | severity | ||||
character(len=*) | :: | exceptionName | ||||
class(FTDictionary), | optional, | POINTER | :: | infoDictionary |
A convenience initializer for a warning error that includes the key "message" in the infoDictionary. Use this initializer as an example of how to write one's own exception.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTException) | :: | self | ||||
character(len=*) | :: | msg |
A convenience initializer for a fatal error that includes the key "message" in the infoDictionary.Use this initializer as an example of how to write one's own exception.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTException) | :: | self | ||||
character(len=*) | :: | msg |
A convenience initializer for an assertion error that includes the keys:
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTException) | :: | self | ||||
character(len=*) | :: | msg | ||||
class(FTValue), | POINTER | :: | expectedValueObject | |||
class(FTValue), | POINTER | :: | ObservedValueObject | |||
integer | :: | level |
Sets and retains the exception infoDictionary
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTException) | :: | self | ||||
class(FTDictionary), | POINTER | :: | dict |
Returns the exception's infoDictionary. Does not transfer ownership/reference count is unchanged.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTException) | :: | self |
Returns the string representing the name set for the exception.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTException) | :: | self |
Returns the severity level of the exception.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTException) | :: | self |
A basic printing of the exception and the info held in the infoDictionary.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTException) | :: | self | ||||
integer | :: | iUnit |
Class name returns a string with the name of the type of the object
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTException) | :: | self |