com.retek.commons.domain.core.exception
Class SystemExceptionConverter

java.lang.Object
  extended bycom.retek.commons.domain.core.exception.SystemExceptionConverter

public class SystemExceptionConverter
extends java.lang.Object

Utility to convert exceptions into SystemException.

Retek Inc. Copyright (c) 2003


Field Summary
static java.lang.String PK_VIOLATION_ERROR
           
static java.lang.String REF_INTEGRITY_ERROR
           
 
Constructor Summary
SystemExceptionConverter()
           
 
Method Summary
static SystemException convert(java.lang.ClassCastException e)
           
static SystemException convert(java.lang.ClassNotFoundException cnfe)
           
static SystemException convert(javax.ejb.CreateException ce)
           
static SystemException convert(java.lang.IllegalAccessException iae)
           
static SystemException convert(java.lang.InstantiationException ie)
           
static SystemException convert(java.lang.reflect.InvocationTargetException ite)
           
static SystemException convert(java.io.IOException ioe)
           
static SystemException convert(java.util.MissingResourceException e)
           
static SystemException convert(javax.naming.NamingException ne)
           
static SystemException convert(java.lang.NoSuchMethodException nsme)
           
static SystemException convert(java.text.ParseException p)
           
static SystemException convert(java.rmi.RemoteException re)
           
static SystemException convert(java.lang.SecurityException e)
           
static SystemException convert(java.sql.SQLException se)
           
static SystemException convert(java.lang.String message)
           
static SystemException convert(java.lang.String message, java.lang.Exception e)
           
static SystemException convert(java.lang.String message, java.lang.RuntimeException e)
           
static SystemException createCommandNotExecuted()
           
static SystemException throwWrapped(java.lang.Throwable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REF_INTEGRITY_ERROR

public static final java.lang.String REF_INTEGRITY_ERROR
See Also:
Constant Field Values

PK_VIOLATION_ERROR

public static final java.lang.String PK_VIOLATION_ERROR
See Also:
Constant Field Values
Constructor Detail

SystemExceptionConverter

public SystemExceptionConverter()
Method Detail

convert

public static SystemException convert(javax.naming.NamingException ne)

convert

public static SystemException convert(java.rmi.RemoteException re)

convert

public static SystemException convert(java.lang.SecurityException e)

convert

public static SystemException convert(javax.ejb.CreateException ce)

convert

public static SystemException convert(java.text.ParseException p)

convert

public static SystemException convert(java.sql.SQLException se)

convert

public static SystemException convert(java.lang.ClassNotFoundException cnfe)

convert

public static SystemException convert(java.lang.reflect.InvocationTargetException ite)

convert

public static SystemException convert(java.lang.NoSuchMethodException nsme)

convert

public static SystemException convert(java.lang.IllegalAccessException iae)

convert

public static SystemException convert(java.lang.InstantiationException ie)

convert

public static SystemException convert(java.util.MissingResourceException e)

convert

public static SystemException convert(java.lang.ClassCastException e)

convert

public static SystemException convert(java.io.IOException ioe)

convert

public static SystemException convert(java.lang.String message,
                                      java.lang.Exception e)

convert

public static SystemException convert(java.lang.String message,
                                      java.lang.RuntimeException e)

convert

public static SystemException convert(java.lang.String message)

throwWrapped

public static SystemException throwWrapped(java.lang.Throwable t)
                                    throws SystemException
Throws:
SystemException

createCommandNotExecuted

public static SystemException createCommandNotExecuted()


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25