org.exolab.core.util
Class BaseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.exolab.core.util.BaseException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- LockNotGrantedException
- public class BaseException
- extends java.lang.Exception
Parent class of all Castor exceptions. The constructor accepts the
error code and a number of arguments. It retrieves the exception
text for the current locale and formats it using the arguments.
The textual error code can be retrieved by calling getErrorCode()
.
- Version:
- $Revision: 1.1 $ $Date: 2000/03/03 06:41:30 $
- Author:
- Assaf Arkin
- See Also:
- Serialized Form
Constructor Summary |
protected |
BaseException(java.lang.String message)
|
protected |
BaseException(java.lang.String message,
java.lang.Object arg1)
|
protected |
BaseException(java.lang.String message,
java.lang.Object arg1,
java.lang.Object arg2)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BaseException
protected BaseException(java.lang.String message)
BaseException
protected BaseException(java.lang.String message,
java.lang.Object arg1)
BaseException
protected BaseException(java.lang.String message,
java.lang.Object arg1,
java.lang.Object arg2)
getErrorCode
public final java.lang.String getErrorCode()
toString
public java.lang.String toString()
Copyright © 1999-2005 The Exolab Group. All Rights Reserved.