Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.ejb
Class DeploymentException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byoracle.toplink.exceptions.TopLinkException
                  extended byoracle.toplink.ejb.DeploymentException

All Implemented Interfaces:
java.io.Serializable

public class DeploymentException
extends TopLinkException
implements java.io.Serializable
See Also:
Serialized Form

Field Summary
static int CANNOT_FIND_GENERATED_SUBCLASS
static int CANNOT_READ_TOPLINK_PROJECT
static int CANT_USE_LOCAL_RELATIONSHIPS
static int CANT_USE_REMOTE_RELATIONSHIPS
static int ERROR_CONNECTING_TO_DATA_SOURCE
static int ERROR_CONVERTING_PLATFORM
static int ERROR_CREATING_CUSTOMIZATION
static int ERROR_CREATING_PROJECT
static int ERROR_GETTING_MAPPING
static int ERROR_IN_DEPLOYMENT_DESCRIPTOR
static int ERROR_INVALID_CACHE_USAGE
static int ERROR_INVALID_TXN_ISOLATION
static int ERROR_INVALID_UPDATE_PROPAGATION
static int ERROR_RUNNING_CUSTOMIZATION
static int ERROR_UNSUPPORTED_JDBC_LEVEL
static int ERROR_VALIDATING_LICENSE
Deprecated. since 4.6. There is no direct replacement API.
static int MUST_USE_TRANSPARENT_INDIRECTION
static int MUST_USE_VALUEHOLDER
static int NO_DEPLOYMENT_DESCRIPTOR
static int NO_LICENSE_IN_WL_PROPERTIES
Deprecated. since 4.6. There is no direct replacement API.
static int NO_PROJECT_SPECIFIED
static int NO_PROJECT_SPECIFIED2
static int NO_SESSION_ID_SPECIFIED
static int NO_SUCH_PROJECT_IDENTIFIER
static int NO_SUCH_PROJECT_IDENTIFIER2
static int NO_TOPLINKSDK_XERCES_JAR
static int NO_XERCES_JAR

Constructor Summary
DeploymentException()
DeploymentException(java.lang.String theMessage)
DeploymentException(java.lang.String message, java.lang.Exception internalException)

Method Summary
static DeploymentException cannotFindGeneratedSubclass(java.lang.String beanName)
static DeploymentException cannotReadTopLinkProject()
static DeploymentException cantUseLocalRelationships(java.lang.String beanName)
static DeploymentException cantUseRemoteRelationships(java.lang.String beanName)
static DeploymentException errorConnectingToDataSource(java.lang.String dataSourceName, java.lang.Throwable e)
static DeploymentException errorCreatingCustomization(java.lang.String className, java.lang.Throwable e)
static DeploymentException errorCreatingProject(java.lang.Throwable e)
static DeploymentException errorGetMappingFromAttribute(java.lang.Throwable e)
static DeploymentException errorInDeploymentDescriptor(java.lang.String descName, java.lang.Throwable e)
static DeploymentException errorRunningCustomization(java.lang.String className, java.lang.Throwable e)
static java.lang.String getPlatformConversionWarning(java.lang.String platformName, java.lang.String defaultPlatformName, java.lang.Throwable conversionException)
static DeploymentException invalidCacheUsageString(java.lang.String cacheUsageString)
static DeploymentException invalidTxnIsolation(java.lang.String txnIsolationString)
static DeploymentException invalidUpdatePropagationString(java.lang.String updatePropagationString)
static DeploymentException mustUseTransparentIndirection(java.lang.String attributeName)
static DeploymentException mustUseValueHolder(java.lang.String attributeName)
static DeploymentException noDeploymentDescriptor(java.lang.String descName)
static DeploymentException noProjectSpecified()
static DeploymentException noProjectSpecified(java.lang.String supplementaryMessage)
static DeploymentException noSessionIdSpecified()
static DeploymentException noSuchProjectIdentifier(java.lang.String projectIdentifer)
static DeploymentException noSuchProjectIdentifier(java.lang.String projectIdentifer, java.lang.Throwable e)
static DeploymentException noTopLInkSDKXercesJar(java.lang.String TopLinkSDKXercesPath)
static DeploymentException noXercesJar(java.lang.String xercesPath)
static DeploymentException unsupportedJdbcLevel(java.lang.String jdbcLevel)

Methods inherited from class oracle.toplink.exceptions.TopLinkException
getErrorCode, getInternalException, getMessage, getSession, printStackTrace, printStackTrace, printStackTrace, setShouldPrintInternalException

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

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

Field Detail

NO_PROJECT_SPECIFIED

public static final int NO_PROJECT_SPECIFIED
See Also:
Constant Field Values

NO_LICENSE_IN_WL_PROPERTIES

public static final int NO_LICENSE_IN_WL_PROPERTIES
Deprecated. since 4.6. There is no direct replacement API.
See Also:
Constant Field Values

NO_SUCH_PROJECT_IDENTIFIER

public static final int NO_SUCH_PROJECT_IDENTIFIER
See Also:
Constant Field Values

ERROR_CREATING_CUSTOMIZATION

public static final int ERROR_CREATING_CUSTOMIZATION
See Also:
Constant Field Values

ERROR_RUNNING_CUSTOMIZATION

public static final int ERROR_RUNNING_CUSTOMIZATION
See Also:
Constant Field Values

ERROR_UNSUPPORTED_JDBC_LEVEL

public static final int ERROR_UNSUPPORTED_JDBC_LEVEL
See Also:
Constant Field Values

ERROR_INVALID_TXN_ISOLATION

public static final int ERROR_INVALID_TXN_ISOLATION
See Also:
Constant Field Values

ERROR_INVALID_CACHE_USAGE

public static final int ERROR_INVALID_CACHE_USAGE
See Also:
Constant Field Values

ERROR_VALIDATING_LICENSE

public static final int ERROR_VALIDATING_LICENSE
Deprecated. since 4.6. There is no direct replacement API.
See Also:
Constant Field Values

ERROR_INVALID_UPDATE_PROPAGATION

public static final int ERROR_INVALID_UPDATE_PROPAGATION
See Also:
Constant Field Values

ERROR_CONNECTING_TO_DATA_SOURCE

public static final int ERROR_CONNECTING_TO_DATA_SOURCE
See Also:
Constant Field Values

NO_TOPLINKSDK_XERCES_JAR

public static final int NO_TOPLINKSDK_XERCES_JAR
See Also:
Constant Field Values

NO_XERCES_JAR

public static final int NO_XERCES_JAR
See Also:
Constant Field Values

NO_PROJECT_SPECIFIED2

public static final int NO_PROJECT_SPECIFIED2
See Also:
Constant Field Values

NO_SUCH_PROJECT_IDENTIFIER2

public static final int NO_SUCH_PROJECT_IDENTIFIER2
See Also:
Constant Field Values

ERROR_CREATING_PROJECT

public static final int ERROR_CREATING_PROJECT
See Also:
Constant Field Values

ERROR_CONVERTING_PLATFORM

public static final int ERROR_CONVERTING_PLATFORM
See Also:
Constant Field Values

NO_SESSION_ID_SPECIFIED

public static final int NO_SESSION_ID_SPECIFIED
See Also:
Constant Field Values

NO_DEPLOYMENT_DESCRIPTOR

public static final int NO_DEPLOYMENT_DESCRIPTOR
See Also:
Constant Field Values

ERROR_IN_DEPLOYMENT_DESCRIPTOR

public static final int ERROR_IN_DEPLOYMENT_DESCRIPTOR
See Also:
Constant Field Values

CANT_USE_LOCAL_RELATIONSHIPS

public static final int CANT_USE_LOCAL_RELATIONSHIPS
See Also:
Constant Field Values

CANT_USE_REMOTE_RELATIONSHIPS

public static final int CANT_USE_REMOTE_RELATIONSHIPS
See Also:
Constant Field Values

CANNOT_FIND_GENERATED_SUBCLASS

public static final int CANNOT_FIND_GENERATED_SUBCLASS
See Also:
Constant Field Values

CANNOT_READ_TOPLINK_PROJECT

public static final int CANNOT_READ_TOPLINK_PROJECT
See Also:
Constant Field Values

ERROR_GETTING_MAPPING

public static final int ERROR_GETTING_MAPPING
See Also:
Constant Field Values

MUST_USE_TRANSPARENT_INDIRECTION

public static final int MUST_USE_TRANSPARENT_INDIRECTION
See Also:
Constant Field Values

MUST_USE_VALUEHOLDER

public static final int MUST_USE_VALUEHOLDER
See Also:
Constant Field Values

Constructor Detail

DeploymentException

public DeploymentException()

DeploymentException

public DeploymentException(java.lang.String theMessage)

DeploymentException

public DeploymentException(java.lang.String message,
                           java.lang.Exception internalException)

Method Detail

errorConnectingToDataSource

public static DeploymentException errorConnectingToDataSource(java.lang.String dataSourceName,
                                                              java.lang.Throwable e)

errorCreatingCustomization

public static DeploymentException errorCreatingCustomization(java.lang.String className,
                                                             java.lang.Throwable e)

errorCreatingProject

public static DeploymentException errorCreatingProject(java.lang.Throwable e)

errorGetMappingFromAttribute

public static DeploymentException errorGetMappingFromAttribute(java.lang.Throwable e)

errorRunningCustomization

public static DeploymentException errorRunningCustomization(java.lang.String className,
                                                            java.lang.Throwable e)

getPlatformConversionWarning

public static java.lang.String getPlatformConversionWarning(java.lang.String platformName,
                                                            java.lang.String defaultPlatformName,
                                                            java.lang.Throwable conversionException)

invalidCacheUsageString

public static DeploymentException invalidCacheUsageString(java.lang.String cacheUsageString)

invalidTxnIsolation

public static DeploymentException invalidTxnIsolation(java.lang.String txnIsolationString)

invalidUpdatePropagationString

public static DeploymentException invalidUpdatePropagationString(java.lang.String updatePropagationString)

noProjectSpecified

public static DeploymentException noProjectSpecified()

noProjectSpecified

public static DeploymentException noProjectSpecified(java.lang.String supplementaryMessage)

noSessionIdSpecified

public static DeploymentException noSessionIdSpecified()

noSuchProjectIdentifier

public static DeploymentException noSuchProjectIdentifier(java.lang.String projectIdentifer)

noSuchProjectIdentifier

public static DeploymentException noSuchProjectIdentifier(java.lang.String projectIdentifer,
                                                          java.lang.Throwable e)

noTopLInkSDKXercesJar

public static DeploymentException noTopLInkSDKXercesJar(java.lang.String TopLinkSDKXercesPath)

noXercesJar

public static DeploymentException noXercesJar(java.lang.String xercesPath)

unsupportedJdbcLevel

public static DeploymentException unsupportedJdbcLevel(java.lang.String jdbcLevel)

noDeploymentDescriptor

public static DeploymentException noDeploymentDescriptor(java.lang.String descName)

errorInDeploymentDescriptor

public static DeploymentException errorInDeploymentDescriptor(java.lang.String descName,
                                                              java.lang.Throwable e)

cantUseLocalRelationships

public static DeploymentException cantUseLocalRelationships(java.lang.String beanName)

cantUseRemoteRelationships

public static DeploymentException cantUseRemoteRelationships(java.lang.String beanName)

cannotFindGeneratedSubclass

public static DeploymentException cannotFindGeneratedSubclass(java.lang.String beanName)

cannotReadTopLinkProject

public static DeploymentException cannotReadTopLinkProject()

mustUseTransparentIndirection

public static DeploymentException mustUseTransparentIndirection(java.lang.String attributeName)

mustUseValueHolder

public static DeploymentException mustUseValueHolder(java.lang.String attributeName)

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.