Skip Headers

Oracle TopLink Developer's Guide 10g Release 3 (10.1.3) B13593-01 |
| Home | Solution Area | Contents | Index

Previous | Next |

# SDK Descriptor Exceptions (19001 - 19003)

`SDKDescriptorException` is a run-time exception that is raised when you use SDK classes to customize TopLink descriptors.

Format

    EXCEPTION [TOPLINK – error code]: Exception name
    EXCEPTION DESCRIPTION: Message

Example 13-20 SDK Descriptor Exception

    EXCEPTION [TOPLINK – 19001]: oracle.toplink.sdk.SDKDescriptorException
    EXCEPTION DESCRIPTION: The TopLink SDK does not currently support query result ordering.

19001: UNSUPPORTED
  Cause: A method call failed because it is not currently supported by the SDK.
  Action: Avoid using the unsupported method.

19002: CUSTOM_SELECTION_QUERY_REQUIRED
  Cause: An `SDKObjectCollectionMapping` was used without a custom selection query.
  Action: Set the custom selection query on the `SDKObjectCollectionMapping`.

19003: SIZE_MISMATCH_OF_FIELD_TRANSLATIONS
  Cause: Mapping field name array and data source field name array are of different lengths.
  Action: The sizes of the field translation arrays must be equal.