|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.dao.castor.CastorExceptionTranslator
public class CastorExceptionTranslator
This is modeled after the Spring SQLExceptionTrnaslator.
| Constructor Summary | |
|---|---|
CastorExceptionTranslator()
|
|
| Method Summary | |
|---|---|
org.springframework.dao.DataAccessException |
translate(String task,
IOException e)
translate |
org.springframework.dao.DataAccessException |
translate(String task,
org.exolab.castor.xml.MarshalException e)
translate |
org.springframework.dao.DataAccessException |
translate(String task,
org.exolab.castor.xml.ValidationException e)
translate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CastorExceptionTranslator()
| Method Detail |
|---|
public org.springframework.dao.DataAccessException translate(String task,
IOException e)
translate
task - a String object.e - a IOException object.
DataAccessException object.
public org.springframework.dao.DataAccessException translate(String task,
org.exolab.castor.xml.ValidationException e)
translate
task - a String object.e - a ValidationException object.
DataAccessException object.
public org.springframework.dao.DataAccessException translate(String task,
org.exolab.castor.xml.MarshalException e)
translate
task - a String object.e - a MarshalException object.
DataAccessException object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||