catalog.model.exception
Class CatalogException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycatalog.model.exception.CatalogException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DuplicateProductIdException, UsernameNotExistException

public class CatalogException
extends java.lang.Exception

Base checked exception for the JCatalog Project.

Author:
Derek Y. Shen
See Also:
Serialized Form

Constructor Summary
CatalogException(java.lang.String msg)
          Constructor with error message.
CatalogException(java.lang.String msg, java.lang.Throwable cause)
          Constructor with error message and root cause.
 
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

CatalogException

public CatalogException(java.lang.String msg)
Constructor with error message.

Parameters:
msg - the error message associated with the exception

CatalogException

public CatalogException(java.lang.String msg,
                        java.lang.Throwable cause)
Constructor with error message and root cause.

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


Copyright (c) 2004 The JCatalog Project.