PrimoBurner(tm) for C++  4.6
CD, DVD and Blu-ray Software Development Kit
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
primo::burner::DiscArchiveError Namespace Reference

DiscArchive error codes. More...

Enumerations

enum  Enum {
  Start = (0x0A000000),
  End = (0x0AFFFFFF),
  Success = GenericError::Success,
  InternalError = GenericError::InternalError,
  InvalidParameters = (DiscArchiveError::Start + 1),
  DeviceNotSet = (DiscArchiveError::Start + 2),
  MediumNotPresent = (DiscArchiveError::Start + 3),
  IncompatibleMedia = (DiscArchiveError::Start + 4),
  CannotLoadImageLayout = (DiscArchiveError::Start + 5),
  NoNextDisc = (DiscArchiveError::Start + 6),
  DiscFreeSpaceNotEnough = (DiscArchiveError::Start + 7),
  FileMissing = (DiscArchiveError::Start + 8)
}
 DiscArchiveError::Enum. More...
 

Detailed Description

DiscArchive error codes.

These error codes are returned by the DiscArchive::error().

Enumeration Type Documentation

enum Enum

DiscArchiveError::Enum.

Enumerator
Start 

This is not an actual error code.

It marks the start of the region with DiscArchive errors.

End 

This is not an actual error code.

It marks the end of the region with DiscArchive errors.

Success 

Success.

InternalError 

Internal error.

Normally this error should not happen. It indicates an unexpected problem in PrimoBurner components.

InvalidParameters 

This error denotes that invalid parameters were set for the DiscArchive object.

Remarks
The error is raised when:
DeviceNotSet 

No device was specified for the DiscLayout object before calling the DiscArchive::prepareLayout() method.

MediumNotPresent 

No medium could be detected in the target device.

IncompatibleMedia 

Media is not compatible with the attempted operation.

CannotLoadImageLayout 

Cannot load file/folder layout from the target disc.

NoNextDisc 

The error will be raised when calling the DiscArchive.PrepareLayout() method if there are no more files/folders to be archived.

DiscFreeSpaceNotEnough 

There are still files that need to be written, but none of them can be recorded because the free space on the target disc there is not enough.

FileMissing 

A file cannot be found while trying to read its size.

This error may happen during DiscArchive::prepareArchive() and will be reported by DiscArchiveCallback::onSourceFileErrorWithPath().