notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2126 - in development/main/metro/composition: api/src/main/net/dpml/composition/data testing
- From: mcconnell AT dpml.net
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2126 - in development/main/metro/composition: api/src/main/net/dpml/composition/data testing
- Date: Thu, 24 Mar 2005 16:12:49 -0500
Author: mcconnell AT dpml.net
Date: Thu Mar 24 16:12:48 2005
New Revision: 2126
Added:
development/main/metro/composition/api/src/main/net/dpml/composition/data/TypeNotFoundException.java
development/main/metro/composition/testing/build.xml
Log:
Add a TypeNotFoundException to the composition api.
Added:
development/main/metro/composition/api/src/main/net/dpml/composition/data/TypeNotFoundException.java
==============================================================================
--- (empty file)
+++
development/main/metro/composition/api/src/main/net/dpml/composition/data/TypeNotFoundException.java
Thu Mar 24 16:12:48 2005
@@ -0,0 +1,52 @@
+/*
+ * Copyright 2004 Stephen J. McConnell.
+ *
+ * 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.
+ */
+
+package net.dpml.composition.data;
+
+/**
+ * Exception to indicate that a type is unknown within the scope of a type
manager.
+ *
+ * @author <a href="mailto:dev-dpml AT lists.ibiblio.org";>The Digital Product
Meta Library</a>
+ * @version $Id: TypeUnknownException.java 259 2004-10-30 07:24:40Z
mcconnell $
+ */
+public final class TypeNotFoundException extends Exception
+{
+
+ /**
+ * Construct a new <code>TypeNotFoundException</code> instance.
+ *
+ * @param message The detail message for this exception.
+ */
+ public TypeNotFoundException( final String message )
+ {
+ this( message, null );
+ }
+
+ /**
+ * Construct a new <code>TypeNotFoundException</code> instance.
+ *
+ * @param message The detail message for this exception.
+ * @param throwable the root cause of the exception
+ */
+ public TypeNotFoundException( final String message, final Throwable
throwable )
+ {
+ super( message, throwable );
+ }
+
+}
+
Added: development/main/metro/composition/testing/build.xml
==============================================================================
--- (empty file)
+++ development/main/metro/composition/testing/build.xml Thu Mar 24
16:12:48 2005
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="dpml-composition-testing" default="default" basedir="."
+ xmlns:transit="antlib:net.dpml.transit">
+
+ <transit:import uri="artifact:template:dpml/magic/reactor"/>
+
+</project>
- svn commit: r2126 - in development/main/metro/composition: api/src/main/net/dpml/composition/data testing, mcconnell, 03/24/2005
Archive powered by MHonArc 2.6.24.