JSlim  


com.gtcgroup.jslim
Class Exceptionizer

java.lang.Object
  extended bycom.gtcgroup.jslim.Exceptionizer

final class Exceptionizer
extends java.lang.Object

This class provides a set of static methods loosely associated with throwing exceptions and warnings. Logging is delegated to the InternalLogger.

Copyright (c) 1999 - 2004 by Global Technology Consulting Group, Inc. at gtcGroup.com.
Use is authorized, provided the source is acknowledged by inclusion of this copyright notice.

Since:
v. 1.0
Author:
MDT (MarvinToll@gtcGroup.com)

Constructor Summary
private Exceptionizer()
           
 
Method Summary
private static java.lang.StringBuffer buildErrorMessage(ServicesSuperVO serviceSuperVO, java.lang.String strMessage)
           
(package private) static void reThrowJSlimException(ServicesSuperVO serviceSuperVO1, ServicesSuperVO serviceSuperVO2, java.lang.String strSourceClass, java.lang.String strSourceMethod, java.lang.String strMessage, java.lang.Throwable throwable)
          Level - 640.
(package private) static void reThrowJSlimException(ServicesSuperVO serviceSuperVO, java.lang.String strSourceClass, java.lang.String strSourceMethod, java.lang.String strMessage, java.lang.Throwable throwable)
          Level - 640.
(package private) static void reThrowJSlimException(java.lang.String strSourceClass, java.lang.String strSourceMethod, java.lang.String strMessage, java.lang.Throwable throwable)
          Level - 640.
(package private) static void reThrowJSlimSQLException(ServicesSuperVO serviceSuperVO, java.lang.String strSourceClass, java.lang.String strSourceMethod, java.lang.String strMessage, java.sql.SQLException sE)
          Level - 640.
(package private) static void throwDocumentError(ServicesSuperVO serviceSuperVO, java.lang.String strSourceClass, java.lang.String strSourceMethod, java.lang.String strMessage)
          Level - 620.
(package private) static void throwDocumentError(java.lang.String strSourceClass, java.lang.String strSourceMethod, java.lang.String strMessage)
          Level - 620.
(package private) static void throwJSlimException(ServicesSuperVO serviceSuperVO1, ServicesSuperVO serviceSuperVO2, java.lang.String strSourceClass, java.lang.String strSourceMethod, java.lang.String strMessage)
          Level - 640.
(package private) static void throwJSlimException(ServicesSuperVO serviceSuperVO, java.lang.String strSourceClass, java.lang.String strSourceMethod, java.lang.String strMessage)
          Level - 640.
(package private) static void throwJSlimException(java.lang.String strSourceClass, java.lang.String strSourceMethod, java.lang.String strMessage)
          Level - 640.
(package private) static void throwJSlimInfo(ServicesSuperVO serviceSuperVO, java.lang.String strSourceClass, java.lang.String strSourceMethod, java.lang.String strMessage)
          Level - 600.
(package private) static void throwLoadWarning(ServicesSuperVO serviceSuperVO, java.lang.String strSourceClass, java.lang.String strSourceMethod, java.lang.String strMessage)
          Level - 620.
(package private) static void throwLoadWarning(java.lang.String strSourceClass, java.lang.String strSourceMethod, java.lang.String strMessage)
          Level - 620.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exceptionizer

private Exceptionizer()
Method Detail

throwJSlimException

static final void throwJSlimException(java.lang.String strSourceClass,
                                      java.lang.String strSourceMethod,
                                      java.lang.String strMessage)
                               throws JSlimException
Level - 640.

Parameters:
strSourceClass - The class detecting the error.
strSourceMethod - The method detecting the error.
strMessage - The validation error message.
Throws:
JSlimException - if an exception encountered.

throwJSlimException

static final void throwJSlimException(ServicesSuperVO serviceSuperVO,
                                      java.lang.String strSourceClass,
                                      java.lang.String strSourceMethod,
                                      java.lang.String strMessage)
                               throws JSlimException
Level - 640.

Parameters:
serviceSuperVO - Abstract super-class providing variables for VOs.
strSourceClass - The class detecting the error.
strSourceMethod - The method detecting the error.
strMessage - The validation error message.
Throws:
JSlimException - if an exception encountered.

throwJSlimException

static final void throwJSlimException(ServicesSuperVO serviceSuperVO1,
                                      ServicesSuperVO serviceSuperVO2,
                                      java.lang.String strSourceClass,
                                      java.lang.String strSourceMethod,
                                      java.lang.String strMessage)
                               throws JSlimException
Level - 640.

Parameters:
serviceSuperVO1 - Abstract super-class providing variables for VOs.
serviceSuperVO2 - Abstract super-class providing variables for VOs.
strSourceClass - The class detecting the error.
strSourceMethod - The method detecting the error.
strMessage - The validation error message.
Throws:
JSlimException - if an exception encountered.

reThrowJSlimException

static final void reThrowJSlimException(java.lang.String strSourceClass,
                                        java.lang.String strSourceMethod,
                                        java.lang.String strMessage,
                                        java.lang.Throwable throwable)
                                 throws JSlimException
Level - 640.

Parameters:
strSourceClass - The class detecting the error.
strSourceMethod - The method detecting the error.
strMessage - The validation error message.
throwable - The originating exception.
Throws:
JSlimException - if an exception encountered.

reThrowJSlimException

static final void reThrowJSlimException(ServicesSuperVO serviceSuperVO,
                                        java.lang.String strSourceClass,
                                        java.lang.String strSourceMethod,
                                        java.lang.String strMessage,
                                        java.lang.Throwable throwable)
                                 throws JSlimException
Level - 640.

Parameters:
serviceSuperVO - Abstract super-class providing variables for VOs.
strSourceClass - The class detecting the error.
strSourceMethod - The method detecting the error.
strMessage - The validation error message.
throwable - The originating exception.
Throws:
JSlimException - if an exception encountered.

reThrowJSlimException

static final void reThrowJSlimException(ServicesSuperVO serviceSuperVO1,
                                        ServicesSuperVO serviceSuperVO2,
                                        java.lang.String strSourceClass,
                                        java.lang.String strSourceMethod,
                                        java.lang.String strMessage,
                                        java.lang.Throwable throwable)
                                 throws JSlimException
Level - 640.

Parameters:
serviceSuperVO1 - Abstract super-class providing variables for VOs.
serviceSuperVO2 - Abstract super-class providing variables for VOs.
strSourceClass - The class detecting the error.
strSourceMethod - The method detecting the error.
strMessage - The validation error message.
throwable - The originating exception.
Throws:
JSlimException - if an exception encountered.

reThrowJSlimSQLException

static final void reThrowJSlimSQLException(ServicesSuperVO serviceSuperVO,
                                           java.lang.String strSourceClass,
                                           java.lang.String strSourceMethod,
                                           java.lang.String strMessage,
                                           java.sql.SQLException sE)
                                    throws JSlimException
Level - 640.

Parameters:
serviceSuperVO - Abstract super-class providing variables for VOs.
strSourceClass - The class detecting the error.
strSourceMethod - The method detecting the error.
strMessage - The validation error message.
sE - The originating exception.
Throws:
JSlimException - if an exception encountered.

throwDocumentError

static final void throwDocumentError(java.lang.String strSourceClass,
                                     java.lang.String strSourceMethod,
                                     java.lang.String strMessage)
Level - 620.

Parameters:
strSourceClass - The class detecting the error.
strSourceMethod - The method detecting the error.
strMessage - The validation error message.

throwDocumentError

static final void throwDocumentError(ServicesSuperVO serviceSuperVO,
                                     java.lang.String strSourceClass,
                                     java.lang.String strSourceMethod,
                                     java.lang.String strMessage)
Level - 620.

Parameters:
serviceSuperVO - Abstract super-class providing variables for VOs.
strSourceClass - The class detecting the error.
strSourceMethod - The method detecting the error.
strMessage - The validation error message.

throwLoadWarning

static final void throwLoadWarning(java.lang.String strSourceClass,
                                   java.lang.String strSourceMethod,
                                   java.lang.String strMessage)
Level - 620.

Parameters:
strSourceClass - The class detecting the error.
strSourceMethod - The method detecting the error.
strMessage - The validation error message.

throwLoadWarning

static final void throwLoadWarning(ServicesSuperVO serviceSuperVO,
                                   java.lang.String strSourceClass,
                                   java.lang.String strSourceMethod,
                                   java.lang.String strMessage)
Level - 620.

Parameters:
serviceSuperVO - Abstract super-class providing variables for VOs.
strSourceClass - The class detecting the error.
strSourceMethod - The method detecting the error.
strMessage - The validation error message.

throwJSlimInfo

static final void throwJSlimInfo(ServicesSuperVO serviceSuperVO,
                                 java.lang.String strSourceClass,
                                 java.lang.String strSourceMethod,
                                 java.lang.String strMessage)
Level - 600.

Parameters:
serviceSuperVO - Abstract super-class providing variables for VOs.
strSourceClass - The class detecting the error.
strSourceMethod - The method detecting the error.
strMessage - The validation error message.

buildErrorMessage

private static final java.lang.StringBuffer buildErrorMessage(ServicesSuperVO serviceSuperVO,
                                                              java.lang.String strMessage)

JSlim  


Copyright (c) 1999 - 2004 by Global Technology Consulting Group, Inc. at gtcGroup.com.
Use is authorized, provided the source is acknowledged by inclusion of this copyright notice.