head	1.6;
access;
symbols
	TIGRIS_1_1_0RC2:1.4
	TIGRIS_1_1_0RC1:1.4
	TIGRIS_1_1:1.4.0.4
	TIGRIS_1_0_8:1.4
	TIGRIS_1_0_8RC3:1.4
	TIGRIS_1_0_8RC2:1.4
	TIGRIS_1_0_8RC1:1.4
	TIGRIS_1_0_7:1.4
	TIGRIS_1_0_7RC3:1.4
	TIGRIS_1_0_7RC2:1.4
	TIGRIS_1_0_7RC1:1.4
	TIGRIS_1_0_6:1.4
	TIGRIS_1_0_6RC5:1.4
	TIGRIS_1_0_6RC4:1.4
	TIGRIS_1_0_6RC3:1.4
	TIGRIS_1_0_6RC2:1.4
	TIGRIS_1_0_6RC1:1.4
	TIGRIS_1_0_5:1.4
	TIGRIS_1_0_5RC6:1.4
	TIGRIS_1_0_5RC5:1.4
	TIGRIS_1_0_5RC4:1.4
	TIGRIS_1_0_5RC3:1.4
	TIGRIS_1_0_5RC2:1.4
	TIGRIS_1_0_5RC1:1.4
	TIGRIS_1_0_4:1.4
	TIGRIS_1_0_3:1.4
	TIGRIS_1_0_2:1.4
	TIGRIS_1_0_1:1.4
	TIGRIS_1_0:1.4.0.6
	TIGRIS_1_0_0:1.4
	TIGRIS_1_0_0_RC1:1.4.0.2
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.1.1.1
	TIGRIS_0_9_2_3:1.1.1.1
	HELM_PEER_PORT_BRANCH:1.1.1.2
	TURBINE_PEER:1.3
	TIGRIS_0_9_2_1:1.3
	TIGRIS_0_9_2:1.1.1.1.0.6
	TIGRIS_0_9_0:1.1.1.1.0.4
	TIGRIS_0_8_4:1.1.1.1.0.2
	NEWHELM:1.1.1.1
	TIGRIS_NOV_12_2000:1.1.1;
locks; strict;
comment	@# @;


1.6
date	2001.08.11.09.08.00;	author dlr;	state Exp;
branches;
next	1.5;

1.5
date	2001.07.13.21.53.27;	author leonardr;	state Exp;
branches;
next	1.4;

1.4
date	2001.02.21.01.08.20;	author dlr;	state Exp;
branches;
next	1.3;

1.3
date	2001.01.26.18.28.59;	author edk;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2001.01.26.05.24.05;	author edk;	state dead;
branches;
next	1.1;

1.1
date	2000.11.12.21.14.50;	author dlr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.11.12.21.14.50;	author dlr;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2001.02.21.00.32.03;	author dlr;	state Exp;
branches;
next	;

1.3.2.1
date	2001.01.28.01.02.17;	author dlr;	state dead;
branches;
next	1.3.2.2;

1.3.2.2
date	2001.01.28.01.18.21;	author dlr;	state Exp;
branches;
next	1.3.2.3;

1.3.2.3
date	2001.01.29.22.35.37;	author dlr;	state Exp;
branches;
next	1.3.2.4;

1.3.2.4
date	2001.01.29.22.35.50;	author dlr;	state Exp;
branches;
next	1.3.2.5;

1.3.2.5
date	2001.02.16.07.38.46;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Upgrading to Turbine 3.0-dev, Fulcrum 1.0, and Torque 1.0.
@
text
@package org.tigris.helm;

import org.apache.commons.util.exception.NestableException;

/**
 * Exception thrown when an a entity instance--such as a record in a database 
 * table--does not exist, but is expected to.  The following sample:
 *
 * <pre><code><blockquote>
 * throw new DoesNotExist("User with login name of " + loginName,
 *                        "domain named " + domain.getName());
 * </pre></blockquote></code>
 *
 * Results in an exception with a message of:
 *
 * <code><blockquote><pre>
 * User with login name of fred does not exist in domain named foo.
 * </pre></blockquote></code>
 *
 * @@author <a href="mailto:dlr@@collab.net">Daniel Rall</a>
 * @@version $Id: DoesNotExist.java,v 1.5 2001/07/13 21:53:27 leonardr Exp $
 */
public class DoesNotExist extends NestableException
{
    /**
     * Create a new instance of the <code>Exception</code>.
     *
     * @@param what The type of entity that does not exist.
     */
    public DoesNotExist (String what)
    {
        super(what + " does not exist");
    }

    /**
     * Create a new instance of the <code>Exception</code>.
     *
     * @@param what  The type of entity that does not exist.
     * @@param where Where the entity does not exist.
     */
    public DoesNotExist (String what, String where)
    {
        super(what + " does not exist in " + where);
    }
}
@


1.5
log
@Now with the proven health benefits of TurbineException.*

*Proven heath benefits may not exist.
@
text
@d3 1
a3 1
import org.apache.turbine.util.TurbineException;
d21 1
a21 1
 * @@version $Id: DoesNotExist.java,v 1.4 2001/02/21 01:08:20 dlr Exp $
d23 1
a23 1
public class DoesNotExist extends TurbineException
@


1.4
log
@This is the highest revision from the HELM_PEER_PORT_BRANCH.  The previous import caused too many conflicts to resolve manually
@
text
@d3 2
d21 1
a21 1
 * @@version $Id: DoesNotExist.java,v 1.3.2.5 2001/02/16 07:38:46 dlr Exp $
d23 1
a23 1
public class DoesNotExist extends Exception
@


1.3
log
@readding all the files as part of the process of returning to the way
things were as of tuesday
@
text
@d5 12
a16 1
 * table--does not exist, but is expected to.
d19 1
a19 1
 * @@version $Id: DoesNotExist.java,v 1.1.1.1 2000/11/12 21:14:50 dlr Exp $
@


1.3.2.1
log
@Porting to the Turbine Peer system.  -dlr and leonardr
@
text
@d8 1
a8 1
 * @@version $Id: DoesNotExist.java,v 1.3 2001/01/26 18:28:59 edk Exp $
@


1.3.2.2
log
@Classes ported to the Turbine Peer system. -dlr and leonardr
@
text
@a2 2
import org.apache.turbine.util.TurbineException;

d8 1
a8 1
 * @@version $Id: DoesNotExist.java,v 1.1.1.1 2000/11/12 21:14:50 dlr Exp $
d10 1
a10 1
public class DoesNotExist extends TurbineException
@


1.3.2.3
log
@Since this exception is only thrown under known circumstances, it
doesn't need to subclass TurbineException.
@
text
@d10 1
a10 1
 * @@version $Id: DoesNotExist.java,v 1.3.2.2 2001/01/28 01:18:21 dlr Exp $
d12 1
a12 1
public class DoesNotExist extends Exception
@


1.3.2.4
log
@Removed now unneeded import.
@
text
@d3 2
d10 1
a10 1
 * @@version $Id: DoesNotExist.java,v 1.3.2.3 2001/01/29 22:35:37 dlr Exp $
@


1.3.2.5
log
@Added usage documentation.
@
text
@d5 1
a5 12
 * table--does not exist, but is expected to.  The following sample:
 *
 * <pre><code><blockquote>
 * throw new DoesNotExist("User with login name of " + loginName,
 *                        "domain named " + domain.getName());
 * </pre></blockquote></code>
 *
 * Results in an exception with a message of:
 *
 * <code><blockquote><pre>
 * User with login name of fred does not exist in domain named foo.
 * </pre></blockquote></code>
d8 1
a8 1
 * @@version $Id: DoesNotExist.java,v 1.3.2.4 2001/01/29 22:35:50 dlr Exp $
@


1.2
log
@revert this stuff to its state as of 2001/01/24 12:42:00 GMT -- with
the following exceptions, which have some different modifications so
they'll work with changes which have happened in joist:

ProjectNewsEdit.java
SkinManager.java
SkinStyleElementValueManager.java
StyleElementManager.java
StyleManager.java

it compiles.  i dunno if it works, though.
@
text
@d8 1
a8 1
 * @@version $Id: DoesNotExist.java,v 1.1 2000/11/12 21:14:50 dlr Exp $
@


1.1
log
@Initial revision
@
text
@d8 1
a8 1
 * @@version $Id: DoesNotExist.java,v 1.1 2000/11/09 21:23:38 dlr Exp $
@


1.1.1.1
log
@Merging newhelm tree into helm, as per IZ issue #557.  Previous major version of helm is tagged TIGRIS_NOV_11_2000.
@
text
@@


1.1.1.2
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@d5 1
a5 12
 * table--does not exist, but is expected to.  The following sample:
 *
 * <pre><code><blockquote>
 * throw new DoesNotExist("User with login name of " + loginName,
 *                        "domain named " + domain.getName());
 * </pre></blockquote></code>
 *
 * Results in an exception with a message of:
 *
 * <code><blockquote><pre>
 * User with login name of fred does not exist in domain named foo.
 * </pre></blockquote></code>
d8 1
a8 1
 * @@version $Id: DoesNotExist.java,v 1.3.2.5 2001/02/16 07:38:46 dlr Exp $
@

