ProductException.java
/*
 *  Copyright 2006 - 2012 Hannes Holtzhausen
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.

 */

/*
 * $Id: ProductException.java,v 1.4 2007/12/11 07:38:07 hannes Exp $
 *
 * Description: 
 *
 */

package app.services;

/**
 * Exception that is generated during product operations.
 *
 @author  Hannes Holtzhausen
 */

public class ProductException extends Exception
{
  /**
   * Default constructor.
   */

  public ProductException()
  {
  }


  /**
   * Create a new ProductException from the given Exception.
   *
   @param  ex  The wrapped exception instance.
   */

  public ProductException(Exception ex
  {
    super(ex);
  }


  /**
   * Create a new ProductException with the given message.
   *
   @param  msg  String containing the exception message.
   */

  public ProductException(String msg)
  {
    super(msg);
  }
}