Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2449 - in development/main/transit: . core/handler/src/main/net/dpml/io

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: niclas AT hedhman.org
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2449 - in development/main/transit: . core/handler/src/main/net/dpml/io
  • Date: Thu, 28 Apr 2005 21:14:58 -0400

Author: niclas AT hedhman.org
Date: Thu Apr 28 21:14:57 2005
New Revision: 2449

Modified:

development/main/transit/core/handler/src/main/net/dpml/io/ResourceHelper.java
development/main/transit/transit.iws
Log:
I don't feel comfortable of catching Throwable. If there are any Error
required to be caught it should be explicit and well motivated.

Modified:
development/main/transit/core/handler/src/main/net/dpml/io/ResourceHelper.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/io/ResourceHelper.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/io/ResourceHelper.java
Thu Apr 28 21:14:57 2005
@@ -65,7 +65,7 @@
fos = new FileOutputStream( destination );
copy( dll, fos );
}
- catch( Throwable e )
+ catch( RuntimeException e )
{
final String error =
"Unexpected error while attempting to unpack the resource ["

Modified: development/main/transit/transit.iws
==============================================================================
--- development/main/transit/transit.iws (original)
+++ development/main/transit/transit.iws Thu Apr 28 21:14:57 2005
@@ -146,44 +146,73 @@
<option name="HIDE_WARNINGS" value="false" />
</component>
<component name="FileEditorManager" split-orientation="vertical"
split-proportion="0.5">
- <first-group
selected-file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/cache/CacheHandler.java">
- <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/SecuredTransitContext.java"
pinned="false">
+ <first-group
selected-file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/link/LinkURLConnection.java">
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/adapter/AbstractAdapter.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="144" column="0" selection-start="4195"
selection-end="4195" vertical-scroll-proportion="0.16087516">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="25" column="15" selection-start="753"
selection-end="753" vertical-scroll-proportion="0.17555267">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/adapter/NetworkMonitorAdapter.java"
pinned="false">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="27" column="13" selection-start="790"
selection-end="790" vertical-scroll-proportion="-0.0039011703">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/adapter/RepositoryMonitorAdapter.java"
pinned="false">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="31" column="13" selection-start="946"
selection-end="946" vertical-scroll-proportion="-2.2080624">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/link/ArtifactLinkManager.java"
pinned="false">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="84" column="0" selection-start="2704"
selection-end="2909" vertical-scroll-proportion="0.82054615">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/link/FileLinkManager.java"
pinned="false">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="62" column="0" selection-start="1931"
selection-end="2049" vertical-scroll-proportion="0.42912874">
+ <folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/Main.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/link/Handler.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="134" column="0" selection-start="4452"
selection-end="4452" vertical-scroll-proportion="0.34217173">
+ <state line="37" column="0" selection-start="1224"
selection-end="1224" vertical-scroll-proportion="0.35110533">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/core/plugin/src/main/net/dpml/transit/control/CommandHandler.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/link/Link.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="60" column="110" selection-start="1970"
selection-end="1970" vertical-scroll-proportion="0.8270202">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="43" column="13" selection-start="1504"
selection-end="1504" vertical-scroll-proportion="0.10273082">
+ <folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/cache/CacheHandler.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/link/LinkManager.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="39" column="17" selection-start="1456"
selection-end="1456" vertical-scroll-proportion="0.33333334">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="29" column="17" selection-start="988"
selection-end="988" vertical-scroll-proportion="0.23407023">
+ <folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/cache/FileCacheHandler.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/link/LinkURLConnection.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="50" column="13" selection-start="1655"
selection-end="1655" vertical-scroll-proportion="0.17045455">
+ <state line="159" column="15" selection-start="4564"
selection-end="4564" vertical-scroll-proportion="0.45383614">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/test/net/dpml/transit/test/LinkTestCase.java"
pinned="false">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="35" column="13" selection-start="1031"
selection-end="1031" vertical-scroll-proportion="0.21456437">
<folding />
</state>
</provider>
@@ -207,22 +236,15 @@
</component>
<component name="NamedScopeManager" />
<component name="PackagesPane">
- <expanded_node url="" module="core-plugin" type="module" />
- <expanded_node url="net.dpml.transit" module="core-plugin"
type="package" />
- <expanded_node url="net.dpml" module="core-plugin" type="package" />
- <expanded_node url="net" module="core-handler" type="package" />
- <expanded_node url="net" module="core-plugin" type="package" />
+ <expanded_node url="net.dpml.transit.link" module="core-handler"
type="package" />
<expanded_node url="net.dpml" module="core-handler" type="package" />
- <expanded_node url="net.dpml.transit.control" module="core-plugin"
type="package" />
+ <expanded_node url="net" module="core-handler" type="package" />
+ <expanded_node url="net.dpml.io" module="core-handler" type="package" />
<expanded_node url="" module="core-handler" type="module" />
- <expanded_node url="net.dpml.transit.cache" module="core-handler"
type="package" />
+ <expanded_node url="net.dpml.lang" module="core-handler" type="package"
/>
<expanded_node url="net.dpml.transit" module="core-handler"
type="package" />
</component>
- <component name="ProjectPane">
- <expanded_node url="" module="core-handler" type="module" />
- <expanded_node url="file://$PROJECT_DIR$/core/plugin"
module="core-plugin" type="directory" />
- <expanded_node url="" module="core-plugin" type="module" />
- </component>
+ <component name="ProjectPane" />
<component name="ProjectView">
<navigator currentView="PackagesPane" splitterProportion="0.5">
<flattenPackages />
@@ -252,6 +274,13 @@
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<module name="" />
</configuration>
+ <configuration selected="false" default="true" type="Remote"
factoryName="Remote">
+ <option name="USE_SOCKET_TRANSPORT" value="true" />
+ <option name="SERVER_MODE" value="false" />
+ <option name="SHMEM_ADDRESS" value="javadebug" />
+ <option name="HOST" value="localhost" />
+ <option name="PORT" value="5005" />
+ </configuration>
<configuration selected="false" default="true" type="JUnit"
factoryName="JUnit">
<module name="" />
<option name="PACKAGE_NAME" />
@@ -276,13 +305,6 @@
<option name="POLICY_FILE"
value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
<option name="VM_PARAMETERS" />
</configuration>
- <configuration selected="false" default="true" type="Remote"
factoryName="Remote">
- <option name="USE_SOCKET_TRANSPORT" value="true" />
- <option name="SERVER_MODE" value="false" />
- <option name="SHMEM_ADDRESS" value="javadebug" />
- <option name="HOST" value="localhost" />
- <option name="PORT" value="5005" />
- </configuration>
</component>
<component name="SelectInManager" />
<component name="StarteamConfiguration">
@@ -317,6 +339,12 @@
<option name="SHOW_INHERITED" value="false" />
<option name="HIDE_NOT_PUBLIC" value="false" />
</component>
+ <component name="SvnConfiguration">
+ <option name="USER" value="" />
+ <option name="PASSWORD" value="" />
+ <option name="AUTO_ADD_FILES" value="0" />
+ <option name="AUTO_DEL_FILES" value="0" />
+ </component>
<component name="TodoView" selected-index="0">
<todo-panel id="selected-file">
<are-packages-shown value="false" />
@@ -330,23 +358,23 @@
</todo-panel>
</component>
<component name="ToolWindowManager">
- <frame x="-4" y="-6" width="1288" height="987" extended-state="6" />
+ <frame x="0" y="0" width="1280" height="977" extended-state="6" />
<editor active="true" />
<layout>
- <window_info id="CheckStyle" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.33" order="-1" />
+ <window_info id="CheckStyle" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.33" order="8" />
<window_info id="CVS" active="false" anchor="bottom" auto_hide="false"
internal_type="docked" type="docked" visible="false" weight="0.33" order="8"
/>
<window_info id="TODO" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.33" order="7" />
<window_info id="SvgViewer" active="false" anchor="right"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.33" order="3" />
- <window_info id="Project" active="false" anchor="left"
auto_hide="false" internal_type="docked" type="docked" visible="true"
weight="0.24511401" order="0" />
+ <window_info id="Project" active="false" anchor="left"
auto_hide="false" internal_type="docked" type="docked" visible="true"
weight="0.23208469" order="0" />
<window_info id="Find" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.3302217" order="1" />
<window_info id="Structure" active="false" anchor="left"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.25" order="1" />
<window_info id="Messages" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.3302217" order="8" />
- <window_info id="Inspection" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.4" order="6" />
+ <window_info id="Inspection" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.40023336" order="6" />
<window_info id="Dependency Viewer" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.33" order="8" />
<window_info id="Ant Build" active="false" anchor="right"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.25" order="1" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false"
internal_type="docked" type="docked" visible="false" weight="0.33" order="2"
/>
<window_info id="Hierarchy" active="false" anchor="right"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.25" order="2" />
- <window_info id="Clover" active="false" anchor="left"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.33" order="3" />
+ <window_info id="Clover" active="false" anchor="left"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.32980457" order="3" />
<window_info id="Debug" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.4" order="4" />
<window_info id="simpleUML" active="false" anchor="left"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.33" order="3" />
<window_info id="Commander" active="false" anchor="right"
auto_hide="false" internal_type="sliding" type="sliding" visible="false"
weight="0.4" order="0" />
@@ -424,87 +452,108 @@
<option name="FILTER_TARGETS" value="false" />
</component>
<component name="editorHistoryManager">
- <entry
file="file://$PROJECT_DIR$/core/handler/src/test/net/dpml/transit/repository/PropertiesPluginTestCase.java">
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/io/CascadingIOException.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="26" column="23" selection-start="765"
selection-end="765" vertical-scroll-proportion="-0.23076923">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="27" column="33" selection-start="924"
selection-end="944" vertical-scroll-proportion="0.18075423">
+ <folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/core/tools/src/main/net/dpml/transit/tools/MainTask.java">
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/cache/FileCacheHandler.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="24" column="28" selection-start="762"
selection-end="762" vertical-scroll-proportion="-0.13513513">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="50" column="13" selection-start="1655"
selection-end="1655" vertical-scroll-proportion="0.019505851">
+ <folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/util/exception/src/test/net/dpml/exception/ExceptionHelperTest.java">
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/lang/DefaultInvocationHandler.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="20" column="23" selection-start="680"
selection-end="680" vertical-scroll-proportion="-0.1119403">
+ <state line="0" column="0" selection-start="0" selection-end="0"
vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/util/i18n/src/test/net/dpml/i18n/test/ResourceManagerTestCase.java">
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/lang/DelegationRuntimeException.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="23" selection-start="777"
selection-end="777" vertical-scroll-proportion="-0.0955414">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="30" column="119" selection-start="932"
selection-end="932" vertical-scroll-proportion="0.27308193">
+ <folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/util/cli/src/main/net/dpml/cli/ArgumentHandler.java">
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/io/ResourceHelper.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="55" column="0" selection-start="1676"
selection-end="1676" vertical-scroll-proportion="0.1494024">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="73" column="22" selection-start="2339"
selection-end="2339" vertical-scroll-proportion="0.5279584">
+ <folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/SecuredTransitContext.java">
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/adapter/AbstractAdapter.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="144" column="0" selection-start="4195"
selection-end="4195" vertical-scroll-proportion="0.16087516">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="25" column="15" selection-start="753"
selection-end="753" vertical-scroll-proportion="0.17555267">
+ <folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/Main.java">
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/adapter/NetworkMonitorAdapter.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="134" column="0" selection-start="4452"
selection-end="4452" vertical-scroll-proportion="0.34217173">
+ <state line="27" column="13" selection-start="790"
selection-end="790" vertical-scroll-proportion="-0.0039011703">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/core/plugin/src/main/net/dpml/transit/control/CommandHandler.java">
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/adapter/RepositoryMonitorAdapter.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="60" column="110" selection-start="1970"
selection-end="1970" vertical-scroll-proportion="0.8270202">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="31" column="13" selection-start="946"
selection-end="946" vertical-scroll-proportion="-2.2080624">
+ <folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/cache/FileCacheHandler.java">
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/link/LinkManager.java">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="29" column="17" selection-start="988"
selection-end="988" vertical-scroll-proportion="0.23407023">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/link/Handler.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="50" column="13" selection-start="1655"
selection-end="1655" vertical-scroll-proportion="0.17045455">
+ <state line="37" column="0" selection-start="1224"
selection-end="1224" vertical-scroll-proportion="0.35110533">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/cache/CacheHandler.java">
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/link/Link.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="39" column="17" selection-start="1456"
selection-end="1456" vertical-scroll-proportion="0.33333334">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="43" column="13" selection-start="1504"
selection-end="1504" vertical-scroll-proportion="0.10273082">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/link/ArtifactLinkManager.java">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="84" column="0" selection-start="2704"
selection-end="2909" vertical-scroll-proportion="0.82054615">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/link/FileLinkManager.java">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="62" column="0" selection-start="1931"
selection-end="2049" vertical-scroll-proportion="0.42912874">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/test/net/dpml/transit/test/LinkTestCase.java">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="35" column="13" selection-start="1031"
selection-end="1031" vertical-scroll-proportion="0.21456437">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry
file="file://$PROJECT_DIR$/core/handler/src/main/net/dpml/transit/link/LinkURLConnection.java">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="159" column="15" selection-start="4564"
selection-end="4564" vertical-scroll-proportion="0.45383614">
+ <folding />
</state>
</provider>
</entry>



  • svn commit: r2449 - in development/main/transit: . core/handler/src/main/net/dpml/io, niclas, 04/28/2005

Archive powered by MHonArc 2.6.24.

Top of Page