| |
|
| com.caucho.ejb.DuplicateKeyWrapper
DuplicateKeyWrapper | public class DuplicateKeyWrapper extends javax.ejb.DuplicateKeyException implements ExceptionWrapper(Code) | | Wraps the actual exception with an EJB exception
|
DuplicateKeyWrapper | public DuplicateKeyWrapper(String msg)(Code) | | Create a basic DuplicateKeyWrapper with a message.
Parameters: msg - the exception message. |
DuplicateKeyWrapper | public DuplicateKeyWrapper(Throwable rootCause)(Code) | | Create a DuplicateKeyWrapper wrapping a root exception.
Parameters: rootCause - the underlying wrapped exception. |
getMessage | public String getMessage()(Code) | | Returns the appropriate exception message.
|
getRootCause | public Throwable getRootCause()(Code) | | Returns the root exception if it exists.
the underlying wrapped exception. |
toString | public String toString()(Code) | | Print the exception as a string.
|
|
|
|