com.quadrique.jbuildingblocks.core.exception
Class JbbException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.quadrique.jbuildingblocks.core.exception.JbbException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- JbbDatabaseException, JbbInvalidArgumentException, JbbInvalidCommandLineArgumentException, JbbInvalidEmailAddressException, JbbInvalidValueException, JbbIOException, JbbMissingCommandLineArgumentException, JbbMissingResourceException, JbbNoSuchMemberException, JbbScriptEvaluationException, JbbShuttingDownException
public class JbbException
- extends Exception
This class is the base class of all the JBuildingBlocks exceptions
The main concept is that JBuildingBlocks users can cleanly isolates the Exception thrown by the package.
The class also supports an additional detailedMessage field. The field can be used to provide a low level information (e.g. the email address is invalid because the '@' character is missing...)
and it is supported in the JbbExceptionHandler.getSummaryString(...).
- Author:
- herve
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
JbbException
public JbbException()
JbbException
public JbbException(String message)
- Parameters:
message -
JbbException
public JbbException(String message,
String detailedMessage)
- Parameters:
message -
JbbException
public JbbException(String message,
Throwable throwable)
- Parameters:
message - throwable -
JbbException
public JbbException(String message,
String detailedMessage,
Throwable throwable)
- Parameters:
message - throwable -
getSerialVersionUID
public static long getSerialVersionUID()
getDetailedMessage
public String getDetailedMessage()
setDetailedMessage
public void setDetailedMessage(String detailedMessage)
Copyright © 2001-2008 Quadrique Corporation. All Rights Reserved.