/** * INTERNAL: * Exception when processing DBWS metadata and the descriptor cannot be located for the operation */ public static DBWSException resultDoesNotExistForOperation(String resultType, String operation) { Object[] args = { resultType, operation }; DBWSException exception = new DBWSException(ExceptionMessageGenerator.buildMessage( DBWSException.class, RESULT_DOES_NOT_EXIST_FOR_OPERATION, args)); exception.setErrorCode(RESULT_DOES_NOT_EXIST_FOR_OPERATION); return exception; }
/** * INTERNAL: * Exception when reading DBWS metadata and the given file cannot be located */ public static DBWSException couldNotLocateORSessionForService(String serviceName) { Object[] args = { serviceName }; DBWSException exception = new DBWSException(ExceptionMessageGenerator.buildMessage( DBWSException.class, COULD_NOT_LOCATE_OR_SESSION_FOR_SERVICE, args)); exception.setErrorCode(COULD_NOT_LOCATE_OR_SESSION_FOR_SERVICE); return exception; }
/** * INTERNAL: * Exception when processing DBWS metadata and the descriptor cannot be located for the operation */ public static DBWSException couldNotLocateQueryForDescriptor(String query, String descriptor) { Object[] args = { query, descriptor }; DBWSException exception = new DBWSException(ExceptionMessageGenerator.buildMessage( DBWSException.class, COULD_NOT_LOCATE_QUERY_FOR_DESCRIPTOR, args)); exception.setErrorCode(COULD_NOT_LOCATE_QUERY_FOR_DESCRIPTOR); return exception; }
/** * INTERNAL: * Exception when processing DBWS metadata and the descriptor cannot be located for the operation */ public static DBWSException resultDoesNotExistForOperation(String resultType, String operation) { Object[] args = { resultType, operation }; DBWSException exception = new DBWSException(ExceptionMessageGenerator.buildMessage( DBWSException.class, RESULT_DOES_NOT_EXIST_FOR_OPERATION, args)); exception.setErrorCode(RESULT_DOES_NOT_EXIST_FOR_OPERATION); return exception; }
/** * INTERNAL: * Exception when processing DBWS metadata and the descriptor cannot be located for the operation */ public static DBWSException couldNotLocateQueryForDescriptor(String query, String descriptor) { Object[] args = { query, descriptor }; DBWSException exception = new DBWSException(ExceptionMessageGenerator.buildMessage( DBWSException.class, COULD_NOT_LOCATE_QUERY_FOR_DESCRIPTOR, args)); exception.setErrorCode(COULD_NOT_LOCATE_QUERY_FOR_DESCRIPTOR); return exception; }
/** * INTERNAL: * Exception when processing DBWS metadata and the descriptor cannot be located for the operation */ public static DBWSException couldNotLocateQueryForSession(String query, String session) { Object[] args = { query, session }; DBWSException exception = new DBWSException(ExceptionMessageGenerator.buildMessage( DBWSException.class, COULD_NOT_LOCATE_QUERY_FOR_SESSION, args)); exception.setErrorCode(COULD_NOT_LOCATE_QUERY_FOR_SESSION); return exception; }
/** * INTERNAL: * Exception when processing DBWS metadata and the descriptor cannot be located for the operation */ public static DBWSException inoutCursorArgumentsNotSupported() { Object[] args = {}; DBWSException exception = new DBWSException(ExceptionMessageGenerator.buildMessage( DBWSException.class, INOUT_CURSOR_ARGUMENTS_NOT_SUPPORTED, args)); exception.setErrorCode(INOUT_CURSOR_ARGUMENTS_NOT_SUPPORTED); return exception; }
/** * INTERNAL: * Exception when processing DBWS metadata and the descriptor cannot be located for the operation */ public static DBWSException couldNotLocateQueryForDescriptor(String query, String descriptor) { Object[] args = { query, descriptor }; DBWSException exception = new DBWSException(ExceptionMessageGenerator.buildMessage( DBWSException.class, COULD_NOT_LOCATE_QUERY_FOR_DESCRIPTOR, args)); exception.setErrorCode(COULD_NOT_LOCATE_QUERY_FOR_DESCRIPTOR); return exception; }
/** * INTERNAL: * Exception when processing DBWS metadata and the descriptor cannot be located for the operation */ public static DBWSException parameterHasNoMapping(String parameterType, String operation) { Object[] args = { parameterType, operation }; DBWSException exception = new DBWSException(ExceptionMessageGenerator.buildMessage( DBWSException.class, PARAMETER_HAS_NO_MAPPING, args)); exception.setErrorCode(PARAMETER_HAS_NO_MAPPING); return exception; }
/** * INTERNAL: * Exception when processing DBWS metadata and the descriptor cannot be located for the operation */ public static DBWSException multipleOutputArgumentsOnlySupportedForSimpleXML() { Object[] args = {}; DBWSException exception = new DBWSException(ExceptionMessageGenerator.buildMessage( DBWSException.class, MULTIPLE_OUTPUT_ARGUMENTS_ONLY_FOR_SIMPLE_XML, args)); exception.setErrorCode(MULTIPLE_OUTPUT_ARGUMENTS_ONLY_FOR_SIMPLE_XML); return exception; }
/** * INTERNAL: * Exception when processing DBWS metadata and the descriptor cannot be located for the operation */ public static DBWSException inoutCursorArgumentsNotSupported() { Object[] args = {}; DBWSException exception = new DBWSException(ExceptionMessageGenerator.buildMessage( DBWSException.class, INOUT_CURSOR_ARGUMENTS_NOT_SUPPORTED, args)); exception.setErrorCode(INOUT_CURSOR_ARGUMENTS_NOT_SUPPORTED); return exception; }
/** * INTERNAL: * Exception when processing DBWS metadata and the descriptor cannot be located for the operation */ public static DBWSException couldNotLocateDescriptorForOperation(String descriptor, String operation) { Object[] args = { descriptor, operation }; DBWSException exception = new DBWSException(ExceptionMessageGenerator.buildMessage( DBWSException.class, COULD_NOT_LOCATE_DESCRIPTOR, args)); exception.setErrorCode(COULD_NOT_LOCATE_DESCRIPTOR); return exception; }
/** * INTERNAL: * Exception when reading DBWS metadata and the given file cannot be located */ public static DBWSException couldNotLocateOXSessionForService(String serviceName) { Object[] args = { serviceName }; DBWSException exception = new DBWSException(ExceptionMessageGenerator.buildMessage( DBWSException.class, COULD_NOT_LOCATE_OX_SESSION_FOR_SERVICE, args)); exception.setErrorCode(COULD_NOT_LOCATE_OX_SESSION_FOR_SERVICE); return exception; }
/** * INTERNAL: * Exception when reading DBWS metadata and the given file cannot be located */ public static DBWSException couldNotLocateFile(String missingFile) { Object[] args = { missingFile }; DBWSException exception = new DBWSException(ExceptionMessageGenerator.buildMessage( DBWSException.class, COULD_NOT_LOCATE_FILE, args)); exception.setErrorCode(COULD_NOT_LOCATE_FILE); return exception; }
/** * INTERNAL: * Exception when processing DBWS metadata and the descriptor cannot be located for the operation */ public static DBWSException parameterHasNoMapping(String parameterType, String operation) { Object[] args = { parameterType, operation }; DBWSException exception = new DBWSException(ExceptionMessageGenerator.buildMessage( DBWSException.class, PARAMETER_HAS_NO_MAPPING, args)); exception.setErrorCode(PARAMETER_HAS_NO_MAPPING); return exception; }
/** * INTERNAL: * Exception when processing DBWS metadata and the descriptor cannot be located for the operation */ public static DBWSException resultHasNoMapping(String resultType, String operation) { Object[] args = { resultType, operation }; DBWSException exception = new DBWSException(ExceptionMessageGenerator.buildMessage( DBWSException.class, RESULT_HAS_NO_MAPPING, args)); exception.setErrorCode(RESULT_HAS_NO_MAPPING); return exception; }
/** * INTERNAL: * Exception when reading DBWS metadata and the given file cannot be located */ public static DBWSException couldNotLocateORSessionForService(String serviceName) { Object[] args = { serviceName }; DBWSException exception = new DBWSException(ExceptionMessageGenerator.buildMessage( DBWSException.class, COULD_NOT_LOCATE_OR_SESSION_FOR_SERVICE, args)); exception.setErrorCode(COULD_NOT_LOCATE_OR_SESSION_FOR_SERVICE); return exception; }
/** * INTERNAL: * Exception when processing DBWS metadata and the descriptor cannot be located for the operation */ public static DBWSException parameterDoesNotExistForOperation(String parameterType, String operation) { Object[] args = { parameterType, operation }; DBWSException exception = new DBWSException(ExceptionMessageGenerator.buildMessage( DBWSException.class, PARAMETER_DOES_NOT_EXIST_FOR_OPERATION, args)); exception.setErrorCode(PARAMETER_DOES_NOT_EXIST_FOR_OPERATION); return exception; }
/** * INTERNAL: * Exception when processing DBWS metadata and the descriptor cannot be located for the operation */ public static DBWSException parameterHasNoMapping(String parameterType, String operation) { Object[] args = { parameterType, operation }; DBWSException exception = new DBWSException(ExceptionMessageGenerator.buildMessage( DBWSException.class, PARAMETER_HAS_NO_MAPPING, args)); exception.setErrorCode(PARAMETER_HAS_NO_MAPPING); return exception; }
/** * INTERNAL: * Exception when processing DBWS metadata and the descriptor cannot be located for the operation */ public static DBWSException multipleOutputArgumentsOnlySupportedForSimpleXML() { Object[] args = {}; DBWSException exception = new DBWSException(ExceptionMessageGenerator.buildMessage( DBWSException.class, MULTIPLE_OUTPUT_ARGUMENTS_ONLY_FOR_SIMPLE_XML, args)); exception.setErrorCode(MULTIPLE_OUTPUT_ARGUMENTS_ONLY_FOR_SIMPLE_XML); return exception; }