com.objectwave.exception
Class ExceptionBuilder
java.lang.Object
|
+--com.objectwave.exception.ExceptionBuilder
- public class ExceptionBuilder
- extends java.lang.Object
A factory for creating exceptions.
- Version:
- $Id: ExceptionBuilder.java,v 2.0 2001/06/11 15:46:53 dave_hoag Exp $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionBuilder
public ExceptionBuilder()
system
public static SystemException system(java.lang.Throwable supportingEvidence,
java.lang.String details)
- Create a SystemException.
- Parameters:
supportingEvidence
- If this exception is being translated from
a throwable to a system exception, provide the causing exception.
notFound
public static NotFoundException notFound(java.lang.String details)
dataValidation
public static DataValidationException dataValidation(java.lang.String details)
configuration
public static ConfigurationException configuration(java.lang.String details)
- Throw this exception if there was some problem with the application
was configured.