catalog.model.exception
Class DuplicateProductIdException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycatalog.model.exception.CatalogException
              extended bycatalog.model.exception.DuplicateProductIdException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateProductIdException
extends CatalogException

Exception thrown when a product with duplicate id is to be inserted.

Author:
Derek Y. Shen
See Also:
CatalogException, Serialized Form

Constructor Summary
DuplicateProductIdException(java.lang.String msg, java.lang.Throwable cause)
          Constructor.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateProductIdException

public DuplicateProductIdException(java.lang.String msg,
                                   java.lang.Throwable cause)
Constructor.

Parameters:
msg - the error message
cause - the root cause of the exception


Copyright (c) 2004 The JCatalog Project.