|
AVPKit
|


Public Member Functions | |
| virtual const char * | getDescription () |
| Get a text description for this error. More... | |
| virtual int32_t | getErrorNumber () |
| Return the raw integer value that AVPKit returned and was used to create this IError. More... | |
| virtual Type | getType () |
| Get the OS-independent AVPKit type for this error. More... | |
Public Member Functions inherited from com::avpkit::ferry::RefCounted | |
| virtual int32_t | acquire () |
| Internal Only. More... | |
| virtual int32_t | release () |
| Internal Only. More... | |
| virtual RefCounted * | copyReference () |
| Create a new Java object that refers to the same native object. More... | |
| virtual int32_t | getCurrentRefCount () |
| Return the current reference count on this object. More... | |
| void | setJavaAllocator (void *allocator) |
| This method is public but not part of the standard API. More... | |
| void * | getJavaAllocator () |
| This method is public but not part of the standard API. More... | |
Static Public Member Functions | |
| static Error * | make (int32_t errNo) |
| static Error * | make (Type type) |
| static Type | errorNumberToType (int32_t errorNo) |
| static int32_t | typeToErrorNumber (Type type) |
Static Public Member Functions inherited from com::avpkit::core::IError | |
| static IError * | make (int32_t errorNumber) |
| Create a new IError object from a return value passed in from AVPKit. More... | |
| static IError * | make (Type type) |
| Create a new IError object from an IError.Type enum value. More... | |
| static Type | errorNumberToType (int32_t errorNo) |
| Translate an error number to a type. More... | |
| static int32_t | typeToErrorNumber (Type type) |
| Translate an a type to an error number. More... | |
Additional Inherited Members | |
Public Types inherited from com::avpkit::core::IError | |
| enum | Type { ERROR_UNKNOWN , ERROR_IO , ERROR_NUMEXPECTED , ERROR_INVALIDDATA , ERROR_NOMEM , ERROR_NOFMT , ERROR_NOTSUPPORTED , ERROR_NOENT , ERROR_EOF , ERROR_RANGE , ERROR_AGAIN , ERROR_PATCHWELCOME , ERROR_INTERRUPTED } |
| A set of errors that AVPKit knows about. | |
| typedef enum com::avpkit::core::IError::Type | Type |
| A set of errors that AVPKit knows about. | |
Protected Member Functions inherited from com::avpkit::ferry::RefCounted | |
| virtual void | destroy () |
| This method is called by RefCounted objects when their Ref Count reaches zero and they are about to be destroyed. | |
Protected Attributes inherited from com::avpkit::ferry::RefCounted | |
| AtomicInteger * | mRefCount |
| This is the internal reference count, represented as an AtomicInteger to make sure it is thread safe. | |
| void * | mAllocator |
| Not part of public API. | |
|
virtual |
Get a text description for this error.
The description returned will be in whatever language the underlying OS decides to use, and no, we can't support localization here if the OS hasn't already done it.
Sorry.
Implements com::avpkit::core::IError.
Definition at line 80 of file Error.cpp.
|
virtual |
Return the raw integer value that AVPKit returned and was used to create this IError.
Note that this value can have different meanings on different operating systems. Use getType() instead for programmatic decisions.
Implements com::avpkit::core::IError.
|
virtual |
Get the OS-independent AVPKit type for this error.
Implements com::avpkit::core::IError.