LayerError_Messages
ObjectCOS_Layer

A listing of COS_Layer errors.



Enumeration Summary
 Enumeration
  CosSyntaxErrors
  GeneralCosErrors


Enumeration Detail
CosSyntaxErrors
Product availability: Acrobat, Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

enum CosSyntaxErrors {
 cosSynErrNoError,
 
 cosSynErrNoHeader,
 
 cosSynErrNoEOF,
 
 cosSynErrNoStartXRef,
 
 cosSynErrNoStartAddress,
 
 cosSynErrBadXref,
 
 cosSynErrBadXrefHeader,
 
 cosSynErrBadXrefEntry,
 
 cosSynErrBadTrailerStart,
 
 cosSynErrBadObjectLabel,
 
 cosSynErrUnknownName,
 
 cosSynErrUnknownTokenType,
 
 cosSynErrNoEndStream,
 
 cosSynErrExtraEndStream,
 
 cosSynErrUnterminatedString,
 
 cosSynErrStringTooLong,
 
 cosSynErrTokenTooLong,
 
 cosSynErrBadCharInHexString,
 
 cosSynErrUnexpectedType,
 
 cosSynErrImageNeverEnded,
 
 cosSynErrUnexpectedDict,
 
 cosSynErrUnexpectedArray,
 
 cosSynErrBadDict,
 
 cosSynErrBadObject,
 
 cosSynErrBadArrayDict,
 
 cosSynErrBadFRef,
 
 cosSynErrPStackUnderflow,
 
 cosSynErrBadLinearized,
 
 cosSynErrBadHexCharInName,
 
 cosSynErrBadName,
 
 cosSynErrBadObjectRef,
 
 cosSynErrBadXrefStream,
 
 cosSynErrPrematureEOF,
 
 cosSynErrBadStreamStart,
 
 cosSynErrBadObjStream,
 
 cosSynErrDictKeyNotName,
 
 cosSynErrExpectedNull,
 
 cosSynErrExpectedNumber,
 
 cosSynErrExpectedInteger,
 
 cosSynErrExpectedReal,
 
 cosSynErrExpectedUnsigned,
 
 cosSynErrExpectedBoolean,
 
 cosSynErrExpectedName,
 
 cosSynErrExpectedString,
 
 cosSynErrExpectedDict,
 
 cosSynErrExpectedArray,
 
 cosSynErrExpectedStream,
 
 cosSynErrIllegalStream,
 
 cosSynErrNoLength,
 
 cosSynErrExpectedIndirect,
 
 cosSynErrExpectedDirect,
 
 cosSynErrIllegalIndRef
}

File: AcroErr.h
Line: 657

Elements
cosSynErrNoError  

No syntax error.

 
cosSynErrNoHeader  

File does not begin with 'PDF-'.

 
cosSynErrNoEOF  

Missing %EOF.

 
cosSynErrNoStartXRef  

Could not find startxref address.

 
cosSynErrNoStartAddress  

The value of startxref address is not an integer.

 
cosSynErrBadXref  

Missing 'xref'.

 
cosSynErrBadXrefHeader  

Xref header should be two integers.

 
cosSynErrBadXrefEntry  

Error reading xref entry.

 
cosSynErrBadTrailerStart  

The trailer dictionary start is missing '<<'.

 
cosSynErrBadObjectLabel  

The object label is badly formatted.

 
cosSynErrUnknownName  

Unrecognized object name.

 
cosSynErrUnknownTokenType  

Unrecognized token type.

 
cosSynErrNoEndStream  

Missing endstream.

 
cosSynErrExtraEndStream  

Unexpected endstream.

 
cosSynErrUnterminatedString  

Unterminated string.

 
cosSynErrStringTooLong  

The string is too long.

 
cosSynErrTokenTooLong  

The token is too long.

 
cosSynErrBadCharInHexString  

There is a non-hex character in a hex string.

 
cosSynErrUnexpectedType  

Unexpected token type.

 
cosSynErrImageNeverEnded  

End of image was not found.

 
cosSynErrUnexpectedDict  

Unexpected end of dictionary.

 
cosSynErrUnexpectedArray  

Unexpected end of array.

 
cosSynErrBadDict  

There was an error reading the dictionary.

 
cosSynErrBadObject  

There was an error reading the object.

 
cosSynErrBadArrayDict  

Expected a dictionary or array.

 
cosSynErrBadFRef  

Bad foreign object reference.

 
cosSynErrPStackUnderflow  

There was a parse stack underflow while reading the object.

 
cosSynErrBadLinearized  

There was an error reading the linearized hint data.

 
cosSynErrBadHexCharInName  

There was a non-hex character after # in a name.

 
cosSynErrBadName  

There are illegal characters in a name.

 
cosSynErrBadObjectRef  

An object reference is invalid.

 
cosSynErrBadXrefStream  

There is an error in the XRef stream.

 
cosSynErrPrematureEOF  

Unexpected end of file.

 
cosSynErrBadStreamStart  

Expected CR and/or LF after 'stream'.

 
cosSynErrBadObjStream  

There is an error in the object stream.

 
cosSynErrDictKeyNotName  

Dictionary keys must be direct name objects.

 
cosSynErrExpectedNull  

The NULL object was expected.

 
cosSynErrExpectedNumber  

A number was expected.

 
cosSynErrExpectedInteger  

An integer was expected.

 
cosSynErrExpectedReal  

A real number was expected.

 
cosSynErrExpectedUnsigned  

A non-negative integer was expected.

 
cosSynErrExpectedBoolean  

true or false was expected.

 
cosSynErrExpectedName  

A name integer was expected.

 
cosSynErrExpectedString  

A string was expected.

 
cosSynErrExpectedDict  

A dictionary was expected.

 
cosSynErrExpectedArray  

An array was expected.

 
cosSynErrExpectedStream  

A stream was expected.

 
cosSynErrIllegalStream  

A stream was found in an illegal context.

 
cosSynErrNoLength  

The stream is missing a Length key.

 
cosSynErrExpectedIndirect  

An indirect object was expected.

 
cosSynErrExpectedDirect  

A direct object was expected.

 
cosSynErrIllegalIndRef  

Illegal indirect reference.

GeneralCosErrors 
Product availability: Acrobat, Reader
Platform availability: Macintosh, Windows, UNIX

Syntax


File: AcroErr.h
Line: 387

Elements
cosErrNoError  

No error.

 
cosErrReadError  

Read error.

 
cosErrWriteError  

Write error.

 
cosErrBadSyntax  

Syntax error.

 
cosErrNeedRebuild  

The file needs to be repaired.

 
cosErrRebuildFailed  

Could not repair file.

 
cosErrCantOpenTempFile  

A temporary file could not be opened.

 
cosErrTempFileFull  

The temporary file is full or nearly full. Close or save any modified documents.

 
cosErrStreamTooShort  

The stream source is shorter than specified length.

 
cosErrBadFilterName  

A stream specifies an unknown filter.

 
cosErrListOverflow  

The operation or data is too complex.

 
cosErrDocTableFull  

The Cos document table is full.

 
cosErrInt16OutOfRange  

A number is out of range.

 
cosErrExpectedNull  

A NULL object was expected.

 
cosErrExpectedDict  

A dictionary object was expected.

 
cosErrExpectedArray  

An array object was expected.

 
cosErrExpectedNumber  

A number object was expected.

 
cosErrExpectedBoolean  

A boolean object was expected.

 
cosErrExpectedName  

A name object was expected.

 
cosErrExpectedString  

A string object was expected.

 
cosErrExpectedStream  

A stream object was expected.

 
cosErrInvalidAssignment  

This direct object already has a container.

 
cosErrAfterSave  

Implementation failure: this document is now invalid.

 
cosErrInvalidObj  

The desired operation cannot be performed on this object.

 
cosErrArrayBounds  

Array out-of-bounds error.

 
cosErrDictKeyNotName  

The dictionary key must be a name object.

 
cosErrNeedFullSave  

This file must be saved with a full save.

 
cosErrEncryptionErr  

Error in the encryption filter.

 
cosErrDCTError  

Error in the JPEG data filter.

 
cosErrCCFError  

Error in the CCITT fax data filter.

 
cosErrLZWError  

Error in the LZW data filter.

 
cosErrExpectedDirect  

A direct object was expected.

 
cosErrOldLinFormat  

Obsolete linearized (optimized for the Web) format.

 
cosErrTempTooShort  

The temporary file was unexpectedly short.

 
cosErrCancelSave  

The Save operation was cancelled.

 
cosErrEncryptionNotSupported  

Encryption and decryption are not supported.

 
cosErrNoEncryptionKeySupplied  

An encryption key is not supplied for a stream.

 
cosErrDuplicateFilterName  

A filter with the same name is already registered.

 
cosErrNoDecodeFilter  

Attempted to decode without the associated filter.

 
cosErrNoEncodeFilter  

Attempted to encode without the associated filter.

 
cosErrCryptAuthFailed  

Decryption authorization failed during data access.

 
cosErrExpectedObjectStream  

An object stream was expected.

 
cosErrExpectedIndirect  

An indirect object was expected.

 
cosErrExpectedProc  

A procedure was expected.

 
cosErrExpectedCollection  

An object collection was expected.

 
cosErrNotCompressed  

A compressed object was expected.

 
cosErrCompressed  

An object that was not compressed was expected.

 
cosErrBadRefcount  

An acquired object was already released.

 
cosErrObjFreed  

An object has been replaced or destroyed.

 
cosErrMemMgrError  

Internal error in the memory manager.

 
cosErrNeedXrefStm  

This file requires a cross-reference stream (PDF 1.5).

 
cosErrCryptSystem  

General Encryption System error (failed to load or initialize).