diff options
author | James Moger <james.moger@gmail.com> | 2011-08-05 15:18:02 -0400 |
---|---|---|
committer | James Moger <james.moger@gmail.com> | 2011-08-05 15:18:02 -0400 |
commit | fadd154d137481ee7d4c394131ce0d2c4803d4e7 (patch) | |
tree | cc5aaa76345637c904fb654cfe4e011ea020b906 | |
parent | b865898879f0d0eb1e752b41562b463b0c31c517 (diff) | |
download | iciql-fadd154d137481ee7d4c394131ce0d2c4803d4e7.tar.gz iciql-fadd154d137481ee7d4c394131ce0d2c4803d4e7.zip |
Documentation. Don't double-wrap IciqlException.
-rw-r--r-- | docs/01_model_classes.mkd | 6 | ||||
-rw-r--r-- | src/com/iciql/Query.java | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/docs/01_model_classes.mkd b/docs/01_model_classes.mkd index fb81e0f..6e58f0a 100644 --- a/docs/01_model_classes.mkd +++ b/docs/01_model_classes.mkd @@ -51,13 +51,13 @@ Alternatively, model classes can be automatically generated by iciql using the m <td>BLOB</td></tr>
<tr><td>java.lang.Enum.name()</td>
-<td>VARCHAR (length > 0) or TEXT (length == 0)<br/>EnumType.STRING</td></tr>
+<td>VARCHAR *(length > 0)* or TEXT *(length == 0)*<br/>*EnumType.STRING*</td></tr>
<tr><td>java.lang.Enum.ordinal()</td>
-<td>INT<br/>EnumType.ORDINAL</td></tr>
+<td>INT<br/>*EnumType.ORDINAL*</td></tr>
<tr><td>java.lang.Enum implements<br/>*com.iciql.Iciql.EnumId.enumId()*</td>
-<td>INT<br/>EnumType.ENUMID</td></tr>
+<td>INT<br/>*EnumType.ENUMID*</td></tr>
</table>
diff --git a/src/com/iciql/Query.java b/src/com/iciql/Query.java index 0611ffa..b6018ea 100644 --- a/src/com/iciql/Query.java +++ b/src/com/iciql/Query.java @@ -231,6 +231,8 @@ public class Query<T> { value = (X) o;
}
result.add(value);
+ } catch (IciqlException e) {
+ throw e;
} catch (Exception e) {
throw new IciqlException(e);
}
|