BOSuperceededVersionException.java :  » UML » MetaBoss » com » metaboss » enterprise » bo » Java Open Source

Java Open Source » UML » MetaBoss 
MetaBoss » com » metaboss » enterprise » bo » BOSuperceededVersionException.java
// THIS SOFTWARE IS PROVIDED BY SOFTARIS PTY.LTD. AND OTHER METABOSS
// CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING,
// BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SOFTARIS PTY.LTD.
// OR OTHER METABOSS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
// OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
// EVEN IF SOFTARIS PTY.LTD. OR OTHER METABOSS CONTRIBUTORS ARE ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
//
// Copyright 2000-2005  Softaris Pty.Ltd. All Rights Reserved.
package com.metaboss.enterprise.bo;

/** Specialised BOLayer exception. Thrown when attempt is made to modify the entity, but
 *  it's current version is different to what caller expects. */
public class BOSuperceededVersionException extends BOException
{
  /** Constructs BOSuperceededVersionException object which does not carry message */
  private BOSuperceededVersionException()
  {
        super();
  }

  /** Constructs BOSuperceededVersionException object which does carry message */
  public BOSuperceededVersionException(String pMessage)
  {
        super(pMessage);
  }

  /** Constructs BOSuperceededVersionException object which does carry message and the original exception details */
  public BOSuperceededVersionException(String pMessage, Throwable pCause)
  {
    super(pMessage,pCause);
  }
}
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.