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::DiscLayoutError Namespace Reference

DiscLayout error codes. More...

Enumerations

enum  Enum {
  Start = 0x0B000000,
  End = 0x0BFFFFFF,
  Success = GenericError::Success,
  InternalError = GenericError::InternalError,
  InvalidParameters = (DiscLayoutError::Start + 1),
  DeviceNotSet = (DiscLayoutError::Start + 2),
  CommandSequence = (DiscLayoutError::Start + 3),
  Interrupted = (DiscLayoutError::Start + 4),
  IncompatibleMedia = (DiscLayoutError::Start + 5),
  MediumNotPresent = (DiscLayoutError::Start + 6),
  OutOfSpace = (DiscLayoutError::Start + 7),
  FooterPrepareError = (DiscLayoutError::Start + 8),
  FileReadError = (DiscLayoutError::Start + 9)
}
 DiscLayoutError::Enum. More...
 

Detailed Description

DiscLayout error codes.

These error codes are returned by the DiscLayout::error() method.

Enumeration Type Documentation

enum Enum

DiscLayoutError::Enum.

Enumerator
Start 

This is not an actual error code.

It marks the start of the region with DiscLayout errors.

End 

This is not an actual error code.

It marks the end of the region with DiscLayout errors.

Success 

Success.

InternalError 

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 DiscLayout object.

The error is raised when:

DeviceNotSet 

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

CommandSequence 

The error is raised when trying to call DiscLayout::open() a second time before calling DiscLayout::close().

The error may also be raised if either DiscLayout::writeContent(), DiscLayout::writeFooter(), or DiscLayout::writeFilesystem() are called before opening the DiscLayout object (DiscLayout::open()).

Interrupted 

The error is raised when the write operation is canceled by the user.

IncompatibleMedia 

Media is not compatible with the attempted operation.

MediumNotPresent 

No medium could be detected in the target device.

OutOfSpace 

The content to be written is larger than the space available.

FooterPrepareError 

A file from the footer is no longer available.

The error may be raised at the start of the following methods DiscLayout::open(), DiscLayout::writeContent() or DiscLayout::writeFooter().

FileReadError 

A file cannot be successfully read from.

The error will be reported through DiscLayoutCallback::onFileErrorWithPath().