com.quadrique.jbuildingblocks.core.exception
Class JbbException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
JbbException()
           
JbbException(String message)
           
JbbException(String message, String detailedMessage)
           
JbbException(String message, String detailedMessage, Throwable throwable)
           
JbbException(String message, Throwable throwable)
           
 
Method Summary
 String getDetailedMessage()
           
static long getSerialVersionUID()
           
 void setDetailedMessage(String detailedMessage)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

getSerialVersionUID

public static long getSerialVersionUID()

getDetailedMessage

public String getDetailedMessage()

setDetailedMessage

public void setDetailedMessage(String detailedMessage)


Copyright © 2001-2008 Quadrique Corporation. All Rights Reserved.