org.opennms.netmgt.dao.castor
Class CastorExceptionTranslator
java.lang.Object
org.opennms.netmgt.dao.castor.CastorExceptionTranslator
public class CastorExceptionTranslator
- extends Object
This is modeled after the Spring SQLExceptionTrnaslator.
- Author:
- DJ Gregor
|
Method Summary |
org.springframework.dao.DataAccessException |
translate(String task,
IOException e)
|
org.springframework.dao.DataAccessException |
translate(String task,
org.exolab.castor.xml.MarshalException e)
|
org.springframework.dao.DataAccessException |
translate(String task,
org.exolab.castor.xml.ValidationException e)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CastorExceptionTranslator
public CastorExceptionTranslator()
translate
public org.springframework.dao.DataAccessException translate(String task,
IOException e)
translate
public org.springframework.dao.DataAccessException translate(String task,
org.exolab.castor.xml.ValidationException e)
translate
public org.springframework.dao.DataAccessException translate(String task,
org.exolab.castor.xml.MarshalException e)
Copyright © 2009. All Rights Reserved.