Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

oracle.odi.runtime.agent.invocation
Class InvocationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.odi.core.exception.OdiException
              extended by oracle.odi.runtime.agent.invocation.InvocationException
All Implemented Interfaces:
java.io.Serializable

public class InvocationException
extends OdiException

Exception to be thrown when an ODI agent request invocation has failed.

Since:
11.1.1.3.0
See Also:
Serialized Form

Constructor Summary
InvocationException(oracle.odi.runtime.agent.invocation.response.OdiAgentErrorResponseDocument pResponse)
          Construct a new OdiInvocationException.
InvocationException(java.lang.String pMessageInvoked, int pCode, java.lang.String pMessage)
          Construct a new OdiInvocationException.
 
Method Summary
 int getCode()
          Returns the code value.
 java.lang.String getInvocationRequestName()
          Get the invoked message name.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvocationException

public InvocationException(oracle.odi.runtime.agent.invocation.response.OdiAgentErrorResponseDocument pResponse)
Construct a new OdiInvocationException.

Parameters:
pResponse - Negative acknowledge returned by the agent

InvocationException

public InvocationException(java.lang.String pMessageInvoked,
                           int pCode,
                           java.lang.String pMessage)
Construct a new OdiInvocationException.

Parameters:
pMessageInvoked - message invoked
pCode - error code
pMessage - error message
Method Detail

getCode

public int getCode()
Returns the code value.

Returns:
the code value.

getInvocationRequestName

public java.lang.String getInvocationRequestName()
Get the invoked message name.

Returns:
the invoked message name.

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

Copyright © 2010, Oracle and/or its affiliates. All rights reserved.