Skip navigation links

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

E17060-04


oracle.odi.core.repository
Class RepositoryResourceFailureException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.odi.core.exception.OdiRuntimeException
                  extended by oracle.odi.exception.OdiUncheckedException
                      extended by oracle.odi.core.repository.RepositoryAccessException
                          extended by oracle.odi.core.repository.RepositoryResourceFailureException

All Implemented Interfaces:
java.io.Serializable

public class RepositoryResourceFailureException
extends RepositoryAccessException

Repository access exception thrown when a resource fails completely, for example, if we can't connect to a database using JDBC.

Since:
11.1.1.6
Version:
$Header: RepositoryResourceFailureException.java 10-mar-2011.15:00:09 aputseye Exp $
See Also:
Serialized Form

Nested Class Summary
static class RepositoryResourceFailureException.RepositoryType
          Describes type of repository.

 

Constructor Summary
RepositoryResourceFailureException(oracle.odi.internal.util.MessageHandle pErrorMsg, java.lang.Object... pMsgArgs)
          Base constructor with custom error message.
RepositoryResourceFailureException(RepositoryResourceFailureException.RepositoryType repositoryType, oracle.odi.internal.util.MessageHandle pErrorMsg, java.lang.Object... pMsgArgs)
          Base constructor with custom error message.
RepositoryResourceFailureException(java.lang.Throwable pCause, oracle.odi.internal.util.MessageHandle pErrorMsg, java.lang.Object... pMsgArgs)
          Base constructor with custom error message.
RepositoryResourceFailureException(java.lang.Throwable pCause, RepositoryResourceFailureException.RepositoryType repositoryType)
          Constructor with default error message Messages.ERR_REPOSITORY_ACCESS_ERROR_WHILE_ACCESSING.
RepositoryResourceFailureException(java.lang.Throwable pCause, RepositoryResourceFailureException.RepositoryType repositoryType, oracle.odi.internal.util.MessageHandle pErrorMsg, java.lang.Object... pMsgArgs)
          Base constructor with custom error message.

 

Method Summary
 RepositoryResourceFailureException.RepositoryType getRepositoryType()
          Return repository type.

 

Methods inherited from class oracle.odi.exception.OdiUncheckedException
getErrorID, getErrorMsgHandle, getLocalizedMessage, getLocalizedMessage, getMessage

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

RepositoryResourceFailureException

public RepositoryResourceFailureException(oracle.odi.internal.util.MessageHandle pErrorMsg,
                                          java.lang.Object... pMsgArgs)
Base constructor with custom error message. Error message arguments are used for customizing error message. The number of arguments should match number of required arguments at error message.

In this case repository type is RepositoryType.UNKNOWN.

Parameters:
pErrorMsg - custom error message.
pMsgArgs - error message arguments.

RepositoryResourceFailureException

public RepositoryResourceFailureException(java.lang.Throwable pCause,
                                          oracle.odi.internal.util.MessageHandle pErrorMsg,
                                          java.lang.Object... pMsgArgs)
Base constructor with custom error message. Error message arguments are used for customizing error message. The number of arguments should match number of required arguments at error message.

In this case repository type is RepositoryType.UNKNOWN.

Parameters:
pCause - exception root cause.
pErrorMsg - custom error message.
pMsgArgs - error message arguments.

RepositoryResourceFailureException

public RepositoryResourceFailureException(RepositoryResourceFailureException.RepositoryType repositoryType,
                                          oracle.odi.internal.util.MessageHandle pErrorMsg,
                                          java.lang.Object... pMsgArgs)
Base constructor with custom error message. Error message arguments are used for customizing error message. The number of arguments should match number of required arguments at error message.

In this case repository type should be specified.

Parameters:
pErrorMsg - custom error message.
pMsgArgs - error message arguments.
repositoryType - repository type.

RepositoryResourceFailureException

public RepositoryResourceFailureException(java.lang.Throwable pCause,
                                          RepositoryResourceFailureException.RepositoryType repositoryType,
                                          oracle.odi.internal.util.MessageHandle pErrorMsg,
                                          java.lang.Object... pMsgArgs)
Base constructor with custom error message. Error message arguments are used for customizing error message. The number of arguments should match number of required arguments at error message.

In this case repository type should be specified.

Parameters:
pCause - exception root cause.
pErrorMsg - custom error message.
pMsgArgs - error message arguments.
repositoryType - repository type.

RepositoryResourceFailureException

public RepositoryResourceFailureException(java.lang.Throwable pCause,
                                          RepositoryResourceFailureException.RepositoryType repositoryType)
Constructor with default error message Messages.ERR_REPOSITORY_ACCESS_ERROR_WHILE_ACCESSING.
Parameters:
pCause - exception root cause.
repositoryType - repository type.

Method Detail

getRepositoryType

public RepositoryResourceFailureException.RepositoryType getRepositoryType()
Return repository type.
Returns:

Skip navigation links

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

E17060-04


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