MergeException.java :  » 6.0-JDK-Modules » jsr-283 » javax » jcr » Java Open Source

Java Open Source » 6.0 JDK Modules » jsr 283 
jsr 283 » javax » jcr » MergeException.java
/*
 * Copyright 2006 Day Management AG, Switzerland. All rights reserved.
 */
package javax.jcr;

/**
 * Exception thrown by {@link Node#merge(String srcWorkspace, boolean isDeep)}.
 */
public class MergeException extends RepositoryException {
    /**
     * Constructs a new instance of this class with <code>null</code> as its
     * detail message.
     */
    public MergeException() {
  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 MergeException(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 MergeException(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 MergeException(Throwable rootCause) {
  super(rootCause);
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.