## Uses of Class
com.ibm.openpages.api.ErrorCode

- Packages that use ErrorCode
  Package | Description
  --- | ---
  com.ibm.openpages.api | OpenPages with Watson Risk API
  com.ibm.openpages.api.search | Provides interfaces to work with the OpenPages Global Search, allowing for cross-object search against all data configured by administrators to be indexed for search.

- - ### Uses of ErrorCode in com.ibm.openpages.api

    Methods in com.ibm.openpages.api that return ErrorCode
    Modifier and Type | Method and Description
    --- | ---
    `ErrorCode` | OpenPagesException.`getCode()`

    Constructors in com.ibm.openpages.api with parameters of type ErrorCode
    Constructor and Description
    `AccessDeniedException(ErrorCode code, java.util.List<java.lang.Object> parameters, java.lang.Throwable cause)` Constructs a new AccessDeniedException with the OpenPages Error Message as its detail message for the specified code and cause.
    `OpenPagesException(ErrorCode code, java.util.List<java.lang.Object> parameters)` Constructs a new OpenPagesException with the OpenPages Error Message as its detail message for the specified code.
    `OpenPagesException(ErrorCode code, java.util.List<java.lang.Object> parameters, java.lang.Throwable cause)` Constructs a new OpenPagesException with the OpenPages Error Message as its detail message for the specified code and cause.

  - ### Uses of ErrorCode in com.ibm.openpages.api.search

    Constructors in com.ibm.openpages.api.search with parameters of type ErrorCode
    Constructor and Description
    `SearchException(ErrorCode code, java.util.List<java.lang.Object> parameters)`
    `SearchException(ErrorCode code, java.util.List<java.lang.Object> parameters, java.lang.Throwable cause)`
    `SearchException(ErrorCode code, java.lang.String additionalErrorText)` Convenience constructor for SearchException with a single error message parameter, additionalErrorText.
    `SearchException(ErrorCode code, java.lang.String additionalErrorText, java.lang.Throwable cause)` Convenience constructor for SearchException with a single error message parameter, additionalErrorText and a Throwable cause.

Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2021. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.