MirConfig.getProp throws an exception if the config value is not present which kind...
authormh <mh>
Mon, 23 Dec 2002 03:36:47 +0000 (03:36 +0000)
committermh <mh>
Mon, 23 Dec 2002 03:36:47 +0000 (03:36 +0000)
commit464327cc431196a1903a6105f745a379d3f3f32b
tree45a8e03eea64528a5c213e5e51c8053decd02eab
parentd29eba62a735843e98e689a5215c1a1ebf9d5aa6
MirConfig.getProp throws an exception if the config value is not present which kind of makes the getConfigPropertyWithDefault method useless, so add a try/catch block to deal with gracefully and set a default. Still a hack, Global config stuff should be in a separate class and/or merged with MirConfig
source/mircoders/global/MirGlobal.java