Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2089 - development/main/metro/composition/impl/src/main/net/dpml/composition/model/impl

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell AT dpml.net
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2089 - development/main/metro/composition/impl/src/main/net/dpml/composition/model/impl
  • Date: Sat, 19 Mar 2005 17:14:56 -0500

Author: mcconnell AT dpml.net
Date: Sat Mar 19 17:14:56 2005
New Revision: 2089

Modified:

development/main/metro/composition/impl/src/main/net/dpml/composition/model/impl/DefaultContainmentModelAssemblyHelper.java
Log:
Cleanup exception message formatting.

Modified:
development/main/metro/composition/impl/src/main/net/dpml/composition/model/impl/DefaultContainmentModelAssemblyHelper.java
==============================================================================
---
development/main/metro/composition/impl/src/main/net/dpml/composition/model/impl/DefaultContainmentModelAssemblyHelper.java
(original)
+++
development/main/metro/composition/impl/src/main/net/dpml/composition/model/impl/DefaultContainmentModelAssemblyHelper.java
Sat Mar 19 17:14:56 2005
@@ -463,8 +463,9 @@
if( profiles.length == 0 )
{
final String error =
- "Unable to locate any candidate deployment profiles for the
service reference: [ "
- + reference + "].";
+ "Unable to locate any candidate deployment profiles for the
service reference: ["
+ + reference
+ + "].";
throw new ProviderNotFoundException( error );
}
else
@@ -474,8 +475,9 @@
if( null == profile )
{
final String error =
- "Unable to locate a suitable deployment profile for the
service reference: [ "
- + reference + "].";
+ "Unable to locate a suitable deployment profile for the
service reference: ["
+ + reference
+ + "].";
throw new ProviderNotFoundException( error );
}
else
@@ -493,15 +495,19 @@
final String error = "Nested assembly failure while
attempting to construct model"
+ " for the profile: ["
+ profile
- + "] for the reference: [" + reference + "].";
+ + "] for the reference: ["
+ + reference
+ + "].";
throw new AssemblyException( error, ae );
}
catch ( ModelException me )
{
final String error = "Nested model failure while
attempting to add model"
- + " for the profile: "
+ + " for the profile "
+ profile
- + " for the reference: [" + reference + "].";
+ + " for the reference ["
+ + reference
+ + "].";
throw new AssemblyException( error, me );
}
}



  • svn commit: r2089 - development/main/metro/composition/impl/src/main/net/dpml/composition/model/impl, mcconnell, 03/19/2005

Archive powered by MHonArc 2.6.24.

Top of Page