EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.exceptions
Class DBWSException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.persistence.exceptions.EclipseLinkException
                  extended by org.eclipse.persistence.exceptions.DBWSException
All Implemented Interfaces:
java.io.Serializable

public class DBWSException
extends EclipseLinkException

PUBLIC: runtime exception for EclipseLink DBWS Service

See Also:
Serialized Form
Author:
Mike Norman - michael.norman@oracle.com
Since:
EclipseLink 1.x

Field Summary
static int COULD_NOT_LOCATE_DESCRIPTOR
           
static int COULD_NOT_LOCATE_FILE
           
static int COULD_NOT_LOCATE_OR_SESSION_FOR_SERVICE
           
static int COULD_NOT_LOCATE_OX_SESSION_FOR_SERVICE
           
static int COULD_NOT_LOCATE_QUERY_FOR_DESCRIPTOR
           
static int COULD_NOT_LOCATE_QUERY_FOR_SESSION
           
static int COULD_NOT_PARSE_DBWS_FILE
           
static int INOUT_CURSOR_ARGUMENTS_NOT_SUPPORTED
           
static int MULTIPLE_OUTPUT_ARGUMENTS_ONLY_FOR_SIMPLE_XML
           
static int PARAMETER_DOES_NOT_EXIST_FOR_OPERATION
           
static int PARAMETER_HAS_NO_MAPPING
           
static int RESULT_DOES_NOT_EXIST_FOR_OPERATION
           
static int RESULT_HAS_NO_MAPPING
           
 
Fields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
 
Constructor Summary
DBWSException()
           
DBWSException(java.lang.String message)
           
DBWSException(java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
static DBWSException couldNotLocateDescriptorForOperation(java.lang.String descriptor, java.lang.String operation)
          INTERNAL: Exception when processing DBWS metadata and the descriptor cannot be located for the operation
static DBWSException couldNotLocateFile(java.lang.String missingFile)
          INTERNAL: Exception when reading DBWS metadata and the given file cannot be located
static DBWSException couldNotLocateORSessionForService(java.lang.String serviceName)
          INTERNAL: Exception when reading DBWS metadata and the given file cannot be located
static DBWSException couldNotLocateOXSessionForService(java.lang.String serviceName)
          INTERNAL: Exception when reading DBWS metadata and the given file cannot be located
static DBWSException couldNotLocateQueryForDescriptor(java.lang.String query, java.lang.String descriptor)
          INTERNAL: Exception when processing DBWS metadata and the descriptor cannot be located for the operation
static DBWSException couldNotLocateQueryForSession(java.lang.String query, java.lang.String session)
          INTERNAL: Exception when processing DBWS metadata and the descriptor cannot be located for the operation
static DBWSException couldNotParseDBWSFile()
           
static DBWSException inoutCursorArgumentsNotSupported()
          INTERNAL: Exception when processing DBWS metadata and the descriptor cannot be located for the operation
static DBWSException multipleOutputArgumentsOnlySupportedForSimpleXML()
          INTERNAL: Exception when processing DBWS metadata and the descriptor cannot be located for the operation
static DBWSException parameterDoesNotExistForOperation(java.lang.String parameterType, java.lang.String operation)
          INTERNAL: Exception when processing DBWS metadata and the descriptor cannot be located for the operation
static DBWSException parameterHasNoMapping(java.lang.String parameterType, java.lang.String operation)
          INTERNAL: Exception when processing DBWS metadata and the descriptor cannot be located for the operation
static DBWSException resultDoesNotExistForOperation(java.lang.String resultType, java.lang.String operation)
          INTERNAL: Exception when processing DBWS metadata and the descriptor cannot be located for the operation
static DBWSException resultHasNoMapping(java.lang.String resultType, java.lang.String operation)
          INTERNAL: Exception when processing DBWS metadata and the descriptor cannot be located for the operation
 
Methods inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COULD_NOT_LOCATE_FILE

public static final int COULD_NOT_LOCATE_FILE
See Also:
Constant Field Values

COULD_NOT_LOCATE_DESCRIPTOR

public static final int COULD_NOT_LOCATE_DESCRIPTOR
See Also:
Constant Field Values

COULD_NOT_LOCATE_QUERY_FOR_DESCRIPTOR

public static final int COULD_NOT_LOCATE_QUERY_FOR_DESCRIPTOR
See Also:
Constant Field Values

COULD_NOT_LOCATE_QUERY_FOR_SESSION

public static final int COULD_NOT_LOCATE_QUERY_FOR_SESSION
See Also:
Constant Field Values

PARAMETER_DOES_NOT_EXIST_FOR_OPERATION

public static final int PARAMETER_DOES_NOT_EXIST_FOR_OPERATION
See Also:
Constant Field Values

PARAMETER_HAS_NO_MAPPING

public static final int PARAMETER_HAS_NO_MAPPING
See Also:
Constant Field Values

RESULT_DOES_NOT_EXIST_FOR_OPERATION

public static final int RESULT_DOES_NOT_EXIST_FOR_OPERATION
See Also:
Constant Field Values

RESULT_HAS_NO_MAPPING

public static final int RESULT_HAS_NO_MAPPING
See Also:
Constant Field Values

MULTIPLE_OUTPUT_ARGUMENTS_ONLY_FOR_SIMPLE_XML

public static final int MULTIPLE_OUTPUT_ARGUMENTS_ONLY_FOR_SIMPLE_XML
See Also:
Constant Field Values

INOUT_CURSOR_ARGUMENTS_NOT_SUPPORTED

public static final int INOUT_CURSOR_ARGUMENTS_NOT_SUPPORTED
See Also:
Constant Field Values

COULD_NOT_LOCATE_OR_SESSION_FOR_SERVICE

public static final int COULD_NOT_LOCATE_OR_SESSION_FOR_SERVICE
See Also:
Constant Field Values

COULD_NOT_LOCATE_OX_SESSION_FOR_SERVICE

public static final int COULD_NOT_LOCATE_OX_SESSION_FOR_SERVICE
See Also:
Constant Field Values

COULD_NOT_PARSE_DBWS_FILE

public static final int COULD_NOT_PARSE_DBWS_FILE
See Also:
Constant Field Values
Constructor Detail

DBWSException

public DBWSException()

DBWSException

public DBWSException(java.lang.String message,
                     java.lang.Throwable cause)

DBWSException

public DBWSException(java.lang.String message)
Method Detail

couldNotLocateFile

public static DBWSException couldNotLocateFile(java.lang.String missingFile)
INTERNAL: Exception when reading DBWS metadata and the given file cannot be located


couldNotLocateDescriptorForOperation

public static DBWSException couldNotLocateDescriptorForOperation(java.lang.String descriptor,
                                                                 java.lang.String operation)
INTERNAL: Exception when processing DBWS metadata and the descriptor cannot be located for the operation


couldNotLocateQueryForDescriptor

public static DBWSException couldNotLocateQueryForDescriptor(java.lang.String query,
                                                             java.lang.String descriptor)
INTERNAL: Exception when processing DBWS metadata and the descriptor cannot be located for the operation


couldNotLocateQueryForSession

public static DBWSException couldNotLocateQueryForSession(java.lang.String query,
                                                          java.lang.String session)
INTERNAL: Exception when processing DBWS metadata and the descriptor cannot be located for the operation


parameterDoesNotExistForOperation

public static DBWSException parameterDoesNotExistForOperation(java.lang.String parameterType,
                                                              java.lang.String operation)
INTERNAL: Exception when processing DBWS metadata and the descriptor cannot be located for the operation


parameterHasNoMapping

public static DBWSException parameterHasNoMapping(java.lang.String parameterType,
                                                  java.lang.String operation)
INTERNAL: Exception when processing DBWS metadata and the descriptor cannot be located for the operation


resultDoesNotExistForOperation

public static DBWSException resultDoesNotExistForOperation(java.lang.String resultType,
                                                           java.lang.String operation)
INTERNAL: Exception when processing DBWS metadata and the descriptor cannot be located for the operation


resultHasNoMapping

public static DBWSException resultHasNoMapping(java.lang.String resultType,
                                               java.lang.String operation)
INTERNAL: Exception when processing DBWS metadata and the descriptor cannot be located for the operation


multipleOutputArgumentsOnlySupportedForSimpleXML

public static DBWSException multipleOutputArgumentsOnlySupportedForSimpleXML()
INTERNAL: Exception when processing DBWS metadata and the descriptor cannot be located for the operation


inoutCursorArgumentsNotSupported

public static DBWSException inoutCursorArgumentsNotSupported()
INTERNAL: Exception when processing DBWS metadata and the descriptor cannot be located for the operation


couldNotLocateORSessionForService

public static DBWSException couldNotLocateORSessionForService(java.lang.String serviceName)
INTERNAL: Exception when reading DBWS metadata and the given file cannot be located


couldNotLocateOXSessionForService

public static DBWSException couldNotLocateOXSessionForService(java.lang.String serviceName)
INTERNAL: Exception when reading DBWS metadata and the given file cannot be located


couldNotParseDBWSFile

public static DBWSException couldNotParseDBWSFile()

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference