Error of ACS::ArchiveIdentifierError

Generated scanning the basedir /alma/ACS-9.0/ACSSW/
Generated at Thu Jul 8 19:55:42 2010


Error name:ArchiveIdentifierError
Error code: 8000
The error is defined in: /alma/ACS-9.0/ACSSW/idl/ArchiveIdentifierError.xml
IDL
File name:ArchiveIdentifierError.idl
Module:ArchiveIdentifierError
C++
Include file name:#include <ArchiveIdentifierError.h>
Namespace:using namespace ArchiveIdentifierError;
Exception for type:ArchiveIdentifierError::ArchiveIdentifierErrorExImpl
Library file name:libArchiveIdentifierError.so
libArchiveIdentifierError.a
Python
Python imports:import ArchiveIdentifierErrorImpl
Java
Jar file name:ArchiveIdentifierError.jar
Packages:import alma.ArchiveIdentifierError.*;
import alma.ArchiveIdentifierError.wrapper.*;
Exception for type:alma.ArchiveIdentifierError.ArchiveIdentifierErrorEx
Exception for type (wrapper):alma.ArchiveIdentifierError.wrapper.AcsJArchiveIdentifierErrorEx

Errors

IdentifierUnexpected

Short descriptionAn unexpected error occured in the identifier archive or UID-related classes.
DescriptionAny otherwise uncaught exception should be converted to (or wrapped by) this type, to ensure proper transport over CORBA.
Members
NameTypeDescription
ContextInfo string Some text explaining what has happened.
IDL
File name:ArchiveIdentifierError.idl
Module:ArchiveIdentifierError
Error code:IdentifierUnexpected
Exception:IdentifierUnexpectedEx
C++
Include file name:#include <ArchiveIdentifierError.h>
Namespace:using namespace ArchiveIdentifierError;
Exception for error:ArchiveIdentifierError::IdentifierUnexpectedExImpl
Completion:ArchiveIdentifierError::IdentifierUnexpectedCompletion
Library file name:libArchiveIdentifierError.so
libArchiveIdentifierError.a
Python
Imports:import ArchiveIdentifierErrorImpl
Raise a local exception:raise ArchiveIdentifierErrorImpl.IdentifierUnexpectedExImpl()
Catch exception:except ArchiveIdentifierErrorImpl.IdentifierUnexpectedEx, e:
Java
Jar file name:ArchiveIdentifierError.jar
Packages:import alma.ArchiveIdentifierError.*;
import alma.ArchiveIdentifierError.wrapper.*;
Exception for error:alma.ArchiveIdentifierError.IdentifierUnexpectedEx
Exception for error (wrapper):alma.ArchiveIdentifierError.wrapper.AcsJIdentifierUnexpectedEx

IdentifierUnavailable

Short descriptionThe identifier archive is not available.
DescriptionThe identifier archive is not available, e.g. because of problems in the database, the identifier component itself, the network, or the client side access mechanism.
Members
NameTypeDescription
ContextInfo string Some text explaining what has happened.
IDL
File name:ArchiveIdentifierError.idl
Module:ArchiveIdentifierError
Error code:IdentifierUnavailable
Exception:IdentifierUnavailableEx
C++
Include file name:#include <ArchiveIdentifierError.h>
Namespace:using namespace ArchiveIdentifierError;
Exception for error:ArchiveIdentifierError::IdentifierUnavailableExImpl
Completion:ArchiveIdentifierError::IdentifierUnavailableCompletion
Library file name:libArchiveIdentifierError.so
libArchiveIdentifierError.a
Python
Imports:import ArchiveIdentifierErrorImpl
Raise a local exception:raise ArchiveIdentifierErrorImpl.IdentifierUnavailableExImpl()
Catch exception:except ArchiveIdentifierErrorImpl.IdentifierUnavailableEx, e:
Java
Jar file name:ArchiveIdentifierError.jar
Packages:import alma.ArchiveIdentifierError.*;
import alma.ArchiveIdentifierError.wrapper.*;
Exception for error:alma.ArchiveIdentifierError.IdentifierUnavailableEx
Exception for error (wrapper):alma.ArchiveIdentifierError.wrapper.AcsJIdentifierUnavailableEx

UidAlreadyExists

Short descriptionCannot replace an existing UID.
DescriptionAn object already has a UID which cannot be replaced.
Members
NameTypeDescription
ObjectDesc string The name or type (or other description) of the object that already has a UID.
Uid string The already existing Uid.
IDL
File name:ArchiveIdentifierError.idl
Module:ArchiveIdentifierError
Error code:UidAlreadyExists
Exception:UidAlreadyExistsEx
C++
Include file name:#include <ArchiveIdentifierError.h>
Namespace:using namespace ArchiveIdentifierError;
Exception for error:ArchiveIdentifierError::UidAlreadyExistsExImpl
Completion:ArchiveIdentifierError::UidAlreadyExistsCompletion
Library file name:libArchiveIdentifierError.so
libArchiveIdentifierError.a
Python
Imports:import ArchiveIdentifierErrorImpl
Raise a local exception:raise ArchiveIdentifierErrorImpl.UidAlreadyExistsExImpl()
Catch exception:except ArchiveIdentifierErrorImpl.UidAlreadyExistsEx, e:
Java
Jar file name:ArchiveIdentifierError.jar
Packages:import alma.ArchiveIdentifierError.*;
import alma.ArchiveIdentifierError.wrapper.*;
Exception for error:alma.ArchiveIdentifierError.UidAlreadyExistsEx
Exception for error (wrapper):alma.ArchiveIdentifierError.wrapper.AcsJUidAlreadyExistsEx

RangeUnavailable

Short descriptionUID range not available.
DescriptionThe requested UID range is not available (from the archive or locally, depending on the calling context)
Members
NameTypeDescription
Range string URI or name of the unavailable range.
IDL
File name:ArchiveIdentifierError.idl
Module:ArchiveIdentifierError
Error code:RangeUnavailable
Exception:RangeUnavailableEx
C++
Include file name:#include <ArchiveIdentifierError.h>
Namespace:using namespace ArchiveIdentifierError;
Exception for error:ArchiveIdentifierError::RangeUnavailableExImpl
Completion:ArchiveIdentifierError::RangeUnavailableCompletion
Library file name:libArchiveIdentifierError.so
libArchiveIdentifierError.a
Python
Imports:import ArchiveIdentifierErrorImpl
Raise a local exception:raise ArchiveIdentifierErrorImpl.RangeUnavailableExImpl()
Catch exception:except ArchiveIdentifierErrorImpl.RangeUnavailableEx, e:
Java
Jar file name:ArchiveIdentifierError.jar
Packages:import alma.ArchiveIdentifierError.*;
import alma.ArchiveIdentifierError.wrapper.*;
Exception for error:alma.ArchiveIdentifierError.RangeUnavailableEx
Exception for error (wrapper):alma.ArchiveIdentifierError.wrapper.AcsJRangeUnavailableEx

RangeLocked

Short descriptionThe requested operation cannot be performed with a locked range of UIDs.
DescriptionThe requested operation cannot be performed with a locked range of UIDs.
Members
NameTypeDescription
Range string The locked range.
IDL
File name:ArchiveIdentifierError.idl
Module:ArchiveIdentifierError
Error code:RangeLocked
Exception:RangeLockedEx
C++
Include file name:#include <ArchiveIdentifierError.h>
Namespace:using namespace ArchiveIdentifierError;
Exception for error:ArchiveIdentifierError::RangeLockedExImpl
Completion:ArchiveIdentifierError::RangeLockedCompletion
Library file name:libArchiveIdentifierError.so
libArchiveIdentifierError.a
Python
Imports:import ArchiveIdentifierErrorImpl
Raise a local exception:raise ArchiveIdentifierErrorImpl.RangeLockedExImpl()
Catch exception:except ArchiveIdentifierErrorImpl.RangeLockedEx, e:
Java
Jar file name:ArchiveIdentifierError.jar
Packages:import alma.ArchiveIdentifierError.*;
import alma.ArchiveIdentifierError.wrapper.*;
Exception for error:alma.ArchiveIdentifierError.RangeLockedEx
Exception for error (wrapper):alma.ArchiveIdentifierError.wrapper.AcsJRangeLockedEx

RangeUnlocked

Short descriptionThe requested operation cannot be performed with an unlocked range of UIDs.
DescriptionThe requested operation cannot be performed with an unlocked (previously: non-serialized) range of UIDs.
Members
NameTypeDescription
Range string The unlocked range.
IDL
File name:ArchiveIdentifierError.idl
Module:ArchiveIdentifierError
Error code:RangeUnlocked
Exception:RangeUnlockedEx
C++
Include file name:#include <ArchiveIdentifierError.h>
Namespace:using namespace ArchiveIdentifierError;
Exception for error:ArchiveIdentifierError::RangeUnlockedExImpl
Completion:ArchiveIdentifierError::RangeUnlockedCompletion
Library file name:libArchiveIdentifierError.so
libArchiveIdentifierError.a
Python
Imports:import ArchiveIdentifierErrorImpl
Raise a local exception:raise ArchiveIdentifierErrorImpl.RangeUnlockedExImpl()
Catch exception:except ArchiveIdentifierErrorImpl.RangeUnlockedEx, e:
Java
Jar file name:ArchiveIdentifierError.jar
Packages:import alma.ArchiveIdentifierError.*;
import alma.ArchiveIdentifierError.wrapper.*;
Exception for error:alma.ArchiveIdentifierError.RangeUnlockedEx
Exception for error (wrapper):alma.ArchiveIdentifierError.wrapper.AcsJRangeUnlockedEx

RangeExhausted

Short descriptionNo more UIDs can be extracted from the Range.
DescriptionNo more UIDs can be extracted from the Range. Note that R
Members
NameTypeDescription
Range string The exhausted range.
RangeMaxDocumentId string The maximum document (local) ID that could be used to derive a UID from this range.
IDL
File name:ArchiveIdentifierError.idl
Module:ArchiveIdentifierError
Error code:RangeExhausted
Exception:RangeExhaustedEx
C++
Include file name:#include <ArchiveIdentifierError.h>
Namespace:using namespace ArchiveIdentifierError;
Exception for error:ArchiveIdentifierError::RangeExhaustedExImpl
Completion:ArchiveIdentifierError::RangeExhaustedCompletion
Library file name:libArchiveIdentifierError.so
libArchiveIdentifierError.a
Python
Imports:import ArchiveIdentifierErrorImpl
Raise a local exception:raise ArchiveIdentifierErrorImpl.RangeExhaustedExImpl()
Catch exception:except ArchiveIdentifierErrorImpl.RangeExhaustedEx, e:
Java
Jar file name:ArchiveIdentifierError.jar
Packages:import alma.ArchiveIdentifierError.*;
import alma.ArchiveIdentifierError.wrapper.*;
Exception for error:alma.ArchiveIdentifierError.RangeExhaustedEx
Exception for error (wrapper):alma.ArchiveIdentifierError.wrapper.AcsJRangeExhaustedEx

Codes

No codes defined

XML

<?xml version="1.0" encoding="ISO-8859-1"?>

<!-- 
	ACS error system definitions for identifier archive exceptions.
	See http://almasw.hq.eso.org/almasw/bin/view/HLA/CompletionErrorTypes 
	
	TODO: add Member child elements for parameters, so that free-text with embedded parameters can be replaced in the code.
-->

<Type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	  xmlns="Alma/ACSError" xsi:schemaLocation="Alma/ACSError ACSError.xsd" 
	  name="ArchiveIdentifierError"
	  type="8000"
	  _prefix="alma">
	  
	<ErrorCode name="IdentifierUnexpected" 
			shortDescription="An unexpected error occured in the identifier archive or UID-related classes." 
			description="Any otherwise uncaught exception should be converted to (or wrapped by) this type, to ensure proper transport over CORBA.">
			<Member name="ContextInfo" type="string" description="Some text explaining what has happened."/>
	</ErrorCode>
	
	<ErrorCode name="IdentifierUnavailable" 
			shortDescription="The identifier archive is not available." 
			description="The identifier archive is not available, e.g. because of problems in the database, the identifier component itself, the network, or the client side access mechanism.">
			<Member name="ContextInfo" type="string" description="Some text explaining what has happened."/>
	</ErrorCode>
	
	<ErrorCode name="UidAlreadyExists" 
			shortDescription="Cannot replace an existing UID." 
			description="An object already has a UID which cannot be replaced.">
			<Member name="ObjectDesc" type="string" description="The name or type (or other description) of the object that already has a UID."/>
			<Member name="Uid" type="string" description="The already existing Uid."/>
	</ErrorCode>	

	<ErrorCode name="RangeUnavailable" 
			shortDescription="UID range not available." 
        	description="The requested UID range is not available (from the archive or locally, depending on the calling context)" >
			<Member name="Range" type="string" description="URI or name of the unavailable range."/>
	</ErrorCode>

	<ErrorCode name="RangeLocked" 
			shortDescription="The requested operation cannot be performed with a locked range of UIDs." 
			description="The requested operation cannot be performed with a locked range of UIDs." >
			<Member name="Range" type="string" description="The locked range."/>
	</ErrorCode>
		
	<ErrorCode name="RangeUnlocked" 
			shortDescription="The requested operation cannot be performed with an unlocked range of UIDs." 
			description="The requested operation cannot be performed with an unlocked (previously: non-serialized) range of UIDs.">
			<Member name="Range" type="string" description="The unlocked range."/>
	</ErrorCode>
		
	<ErrorCode name="RangeExhausted" 
			shortDescription="No more UIDs can be extracted from the Range." 
			description="No more UIDs can be extracted from the Range. Note that R">
			<Member name="Range" type="string" description="The exhausted range."/>
			<!-- The RangeMaxDocumentId is a 64 bit number. Type "long" only yields a 32 bit number, thus we need to use "string" -->
			<Member name="RangeMaxDocumentId" type="string" description="The maximum document (local) ID that could be used to derive a UID from this range."/>
	</ErrorCode>
		
</Type>



Info and errors

The number is in the corrrect range

The error is not duplicated



Subsystem scanned in 2.386 seconds.