All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.jcr.version.ActivityViolationException Maven / Gradle / Ivy

There is a newer version: 2024.11.18751.20241128T090041Z-241100
Show newest version
/*
 * Copyright 2008 Day Management AG, Switzerland. All rights reserved.
 */
package javax.jcr.version;

/**
 * Exception will be thrown by Node.checkout and
 * Node.checkpoint if an activity A is present on the current
 * session and any of the following conditions is met: 
  • There already is * a node in another workspace that has a checked-out node for the version * history of N whose jcr:activity references A.
  • There is a version in * the version history of N that is not a predecessor of N but whose * jcr:activity references A
  • .
* * @since JCR 2.0 */ public class ActivityViolationException extends VersionException { /** * Constructs a new instance of this class with null as its * detail message. */ public ActivityViolationException() { super(); } /** * Constructs a new instance of this class with the specified detail * message. * * @param message the detail message. The detail message is saved for later * retrieval by the {@link #getMessage()} method. */ public ActivityViolationException(String message) { super(message); } /** * Constructs a new instance of this class with the specified detail message * and root cause. * * @param message the detail message. The detail message is saved for later * retrieval by the {@link #getMessage()} method. * @param rootCause root failure cause */ public ActivityViolationException(String message, Throwable rootCause) { super(message, rootCause); } /** * Constructs a new instance of this class with the specified root cause. * * @param rootCause root failure cause */ public ActivityViolationException(Throwable rootCause) { super(rootCause); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy