## Uses of Class
com.sap.conn.jco.JCoException

- Packages that use JCoException
  Package | Description
  --- | ---
  com.sap.conn.jco | Contains the major part of the interfaces and factories an application for JCo is typically dealing with.

- - ### Uses of JCoException in com.sap.conn.jco

    Subclasses of JCoException in com.sap.conn.jco
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbapClassException` This class represents an ABAP class exception.
    `class` | `AbapException` A convenience class on top of JCoException that reports exceptions, which occurred in an SAP system, while processing a function module.

    Methods in com.sap.conn.jco that throw JCoException
    Modifier and Type | Method and Description
    --- | ---
    `void` | JCoDestination.`changePassword(String oldPassword, String newPassword)` Allows changing the password in the backend for the user associated with the destination.
    `void` | JCoFunctionUnit.`commit(JCoDestination destination)` Commits the unit.
    `void` | JCoRequestUnit.`commit(JCoDestination destination)` Commits the unit.
    `void` | JCoDestination.`confirmFunctionUnit(JCoUnitIdentifier unitIdentifier)` Confirms that a bgRFC unit has been executed successfully.
    `void` | JCoDestination.`confirmTID(String tid)` Confirms that a transaction (tRFC/qRFC) has been executed successfully.
    `String` | JCoDestination.`createTID()` Creates a new transaction ID that can be used for tRFC/qRFC requests.
    `static void` | JCoContext.`end(JCoDestination destination)` Ends a stateful call sequence for calls to the specified destination.
    `JCoResponse` | JCoRequest.`execute(JCoDestination destination)` Starts the execution of the function on the given destination.
    `void` | JCoFunction.`execute(JCoDestination destination)` Executes the function on the given target destination synchronously.
    `void` | JCoFunction.`execute(JCoDestination destination, String tid)` Executes the function on the given target destination in transactional mode using the tRfc protocol.
    `void` | JCoFunction.`execute(JCoDestination destination, String tid, String queueName)` Executes the function on the given target destination in queued transactional mode using the qRfc protocol.
    `JCoAttributes` | JCoDestination.`getAttributes()` Returns the attributes of the destination.
    `JCoClassMetaData` | JCoRepository.`getClassMetaData(String className)` Returns the meta data for the passed class/interface name.
    `static JCoDestination` | JCoDestinationManager.`getDestination(String destinationName)` Call this method to get an instance of a destination, on which you need to execute a function module.
    `static JCoDestination` | JCoDestinationManager.`getDestination(String destinationName, String scopeType)` Call this method to get an instance of a destination, on which you need to execute a function module.
    `protected abstract JCoDestination` | JCoDestinationManager.`getDestinationInstance(String destinationName, String scopeType)` Reserved for internal use.
    `JCoFunction` | JCoRepository.`getFunction(String functionName)` Returns a JCoFunction with initial parameters for the passed function name.
    `JCoListMetaData` | JCoRepository.`getFunctionInterface(String functionName)` Returns the meta data for the passed function.
    `JCoFunctionTemplate` | JCoRepository.`getFunctionTemplate(String functionName)` Returns the template for the passed function.
    `JCoFunctionUnitState` | JCoDestination.`getFunctionUnitState(JCoUnitIdentifier unitIdentifier)` Returns the state of the unit with the given ID.
    `JCoRecordMetaData` | JCoRepository.`getRecordMetaData(String recordName)` Returns the meta data for the passed structure/table name.
    `JCoRepository` | JCoDestination.`getRepository()` Returns a repository instance that contains metadata for this destination.
    `JCoRequest` | JCoRepository.`getRequest(String functionName)` Returns a JCoRequest with initial parameters for the passed function name.
    `JCoRecordMetaData` | JCoRepository.`getStructureDefinition(String structureName)` Returns the meta data for the passed structure/table name.
    `void` | JCoDestination.`ping()` Executes a connection test for this destination.
    `static JCoRepositoryQueryResult` | JCo.`queryMetaDataSet(JCoRepository repository, List<String> functions, List<String> types, List<String> classes)` Queries the meta data for function, type and class lists.
    `void` | JCoCustomRepository.`setDestination(JCoDestination destination)` Set the destination for the remote queries.
    `void` | JCoCustomDestination.`setRepositoryDestination(JCoDestination destination)` Sets the destination, whose repository will be used for meta data queries for this destination.

Copyright © 2016 SAP. All Rights Reserved.