<html>
<head>
<style><!--
body {background-color:#ffffff;}
.file {border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;}
.pathname {font-family:monospace; float:right;}
.fileheader {margin-bottom:.5em;}
.diff {margin:0;}
.tasklist {padding:4px;border:1px dashed #000000;margin-top:1em;}
.tasklist ul {margin-top:0;margin-bottom:0;}
tr.alt {background-color:#eeeeee}
#added {background-color:#ddffdd;}
#addedchars {background-color:#99ff99;font-weight:bolder;}
tr.alt #added {background-color:#ccf7cc;}
#removed {background-color:#ffdddd;}
#removedchars {background-color:#ff9999;font-weight:bolder;}
tr.alt #removed {background-color:#f7cccc;}
#copied {background-color:#ccccff;}
tr.alt #copied {background-color:#bbbbf7;}
#info {color:#888888;}
#context {background-color:#eeeeee;}
td {padding-left:.3em;padding-right:.3em;}
tr.head {border-bottom-width:1px;border-bottom-style:solid;}
tr.head td {padding:0;padding-top:.2em;}
.task {background-color:#ffff00;}
.comment {white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word;padding:4px;border:1px dashed #000000;background-color:#ffffdd}
.error {color:red;}
hr {border-width:0px;height:2px;background:black;}
--></style>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head"><td colspan="5">Commit in <b><tt>asxsd/trunk/src/main/java/uk/co/badgersinfoil/asxsd/components</tt></b></td></tr>
<tr><td><tt><a href="#file1">AbstractMappingComponent.java</a></tt> </td><td></td><td align="right" id="added">+4</td><td align="right" id="removed">-3</td><td nowrap="nowrap" align="center">151 -> 152</td></tr>
</table>
<pre class="comment">
improve error messages on failure
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname">asxsd/trunk/src/main/java/uk/co/badgersinfoil/asxsd/components</span><br />
<div class="fileheader"><big><b>AbstractMappingComponent.java</b></big> <small id="info">151 -> 152</small></div>
<pre class="diff"><small id="info">--- trunk/src/main/java/uk/co/badgersinfoil/asxsd/components/AbstractMappingComponent.java        2007-09-10 22:39:51 UTC (rev 151)
+++ trunk/src/main/java/uk/co/badgersinfoil/asxsd/components/AbstractMappingComponent.java        2007-09-10 22:43:20 UTC (rev 152)
@@ -10,6 +10,7 @@
</small></pre><pre class="diff" id="context"> import uk.co.badgersinfoil.asxsd.MappingFunction;
import uk.co.badgersinfoil.asxsd.MappingComponent;
import uk.co.badgersinfoil.asxsd.TypeDescriptor;
</pre><pre class="diff" id="added">+import uk.co.badgersinfoil.asxsd.XSDUtils;
</pre><pre class="diff" id="context">
public abstract class AbstractMappingComponent implements MappingComponent {
</pre><pre class="diff"><small id="info">@@ -18,20 +19,20 @@
</small></pre><pre class="diff" id="context">          XSDConcreteComponent component)
        {
                CodegenRole role = context.getCurrentRole();
</pre><pre class="diff" id="removed">-                throw new RuntimeException(getClass().getName()+" does not suppport operation generateCode(role="+role+", component="+component+")<span id="removedchars">"</span>);
</pre><pre class="diff" id="added">+                throw new RuntimeException(getClass().getName()+" does not suppport operation generateCode(role="+role+", component="+component+")<span id="addedchars"> at "+XSDUtils.path(component)</span>);
</pre><pre class="diff" id="context">         }
        public TypeDescriptor getTypeDescriptor(CodegenContext context,
         XSDConcreteComponent component)
        {
</pre><pre class="diff" id="removed">-                throw new RuntimeException(getClass().getName()+" does not suppport operation getTypeDescriptor()<span id="removedchars">"</span>);
</pre><pre class="diff" id="added">+                throw new RuntimeException(getClass().getName()+" does not suppport operation getTypeDescriptor()<span id="addedchars"> at "+XSDUtils.path(component)</span>);
</pre><pre class="diff" id="context">         }
        public MappingFunction createFunction(CodegenContext context,
         XSDConcreteComponent component)
        {
                CodegenRole role = context.getCurrentRole();
</pre><pre class="diff" id="removed">-                throw new RuntimeException(getClass().getName()+" does not suppport operation createFunction(role="+role+")<span id="removedchars">"</span>);
</pre><pre class="diff" id="added">+                throw new RuntimeException(getClass().getName()+" does not suppport operation createFunction(role="+role+")<span id="addedchars"> at "+XSDUtils.path(component)</span>);
</pre><pre class="diff" id="context">         }
        public MappingFunction functionFor(CodegenContext context, XSDConcreteComponent component) {
</pre></div>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -> email">CVSspam</a> 0.2.12</small></center>
</body></html>