try catch around various method calls in detach. so that detach is not half done.
try catch around various method calls in detach. so that detach is not half done.

git-svn-id: 6d6ade8e88b1292e17cba3559b7335a947e495e0@462470 13f79535-47bb-0310-9956-ffa450edef68

freiheit-com/wicket,aldaris/wicket,martin-g/wicket-osgi,zwsong/wicket,AlienQueen/wicket,astrapi69/wicket,dashorst/wicket,AlienQueen/wicket,apache/wicket,freiheit-com/wicket,topicusonderwijs/wicket,astrapi69/wicket,dashorst/wicket,aldaris/wicket,AlienQueen/wicket,apache/wicket,dashorst/wicket,apache/wicket,Servoy/wicket,astrapi69/wicket,selckin/wicket,bitstorm/wicket,mosoft521/wicket,freiheit-com/wicket,mafulafunk/wicket,mafulafunk/wicket,dashorst/wicket,AlienQueen/wicket,selckin/wicket,klopfdreh/wicket,dashorst/wicket,mosoft521/wicket,klopfdreh/wicket,Servoy/wicket,selckin/wicket,mosoft521/wicket,bitstorm/wicket,aldaris/wicket,topicusonderwijs/wicket,apache/wicket,bitstorm/wicket,bitstorm/wicket,topicusonderwijs/wicket,mosoft521/wicket,aldaris/wicket,AlienQueen/wicket,aldaris/wicket,topicusonderwijs/wicket,klopfdreh/wicket,klopfdreh/wicket,martin-g/wicket-osgi,astrapi69/wicket,mosoft521/wicket,zwsong/wicket,martin-g/wicket-osgi,freiheit-com/wicket,selckin/wicket,topicusonderwijs/wicket,Servoy/wicket,zwsong/wicket,freiheit-com/wicket,mafulafunk/wicket,bitstorm/wicket,zwsong/wicket,Servoy/wicket,selckin/wicket,klopfdreh/wicket,apache/wicket,Servoy/wicket