Apache Jackrabbit : OakErrorCodes

Since OAK-764 the CommitFailedExceptions thrown by commit hooks in Oak come with error codes that help identify the cause of a problem and locate additional information about the issue. This page is an informal registry of common error codes.

Node type validation

OakConstraint000x

Primary and mixin type information

OakConstraint0001

The primary type X does not exist

OakConstraint0002

Mixin type X used as the primary type

OakConstraint0003

Abstract type X used as the primary type

OakConstraint0004

No default primary type available for child node X

OakConstraint0005

The mixin type X does not exist

OakConstraint0006

Primary type X used as a mixin type

OakConstraint0007

Abstract type X used as a mixin type

OakConstraint002x

Presence of mandatory items

OakConstraint0021

Mandatory property X not included in a new node

OakConstraint0022

Mandatory property X can not be removed

OakConstraint0025

Mandatory child node X not included in a new node

OakConstraint0026

Mandatory child node X can not be removed