SOAj Core v. 1.3


info.soaj.core.throwable
Class SjBaseCoreRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by info.soaj.core.throwable.SjBaseCoreRuntimeException
All Implemented Interfaces:
SjInterfaceThrowable, java.io.Serializable
Direct Known Subclasses:
SjCoreExceptionActivationSequence, SjCoreExceptionConvertingBoolean, SjCoreExceptionCreatingPlugin, SjCoreExceptionDuplicatePluginKey, SjCoreExceptionFindingMetadata, SjCoreExceptionFindingPlugin, SjCoreExceptionFindingProperties, SjCoreExceptionFormattingMessage, SjCoreExceptionInstantiating, SjCoreExceptionSelfLoggingRuntime, SjCoreExceptionValidatingString, SjCoreExceptionVerifyingPlugin

public class SjBaseCoreRuntimeException
extends java.lang.RuntimeException
implements SjInterfaceThrowable

This class contains attributes and methods supporting self-logging and self-emailing of exceptions. The logged attribute contributes to limiting redundant logging.

Copyright (c) 2006 - 2009 by Global Technology Consulting Group, Inc. at gtcGroup.com .

Since:
v. 1.0
Author:
MarvinToll@gtcGroup.com
See Also:
Serialized Form

Field Summary
private static java.lang.String CLASS_NAME
          Class name.
protected  boolean logged
          Instance attribute indicating whether "this" exception has been logged.
private static long serialVersionUID
          UID
protected  SjAttributesForThrowable throwableAttributes
          Attributes providing throwable details.
 
Constructor Summary
SjBaseCoreRuntimeException(SjAttributesForThrowable throwableAttributes, java.lang.String message)
          Constructor
SjBaseCoreRuntimeException(SjAttributesForThrowable throwableAttributes, java.lang.String message, java.lang.Throwable e)
          Constructor
 
Method Summary
 SjAttributesForThrowable getThrowableAttributes()
          This method returns the throwableAttributes attribute.
 void initializeLogged()
          This method initializes the logged attribute to true - indicating this exception was logged.
 boolean isLogged()
          This method returns whether this exception has been logged.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
UID

See Also:
Constant Field Values

CLASS_NAME

private static final java.lang.String CLASS_NAME
Class name.


throwableAttributes

protected final SjAttributesForThrowable throwableAttributes
Attributes providing throwable details.


logged

protected boolean logged
Instance attribute indicating whether "this" exception has been logged.

Constructor Detail

SjBaseCoreRuntimeException

public SjBaseCoreRuntimeException(SjAttributesForThrowable throwableAttributes,
                                  java.lang.String message)
Constructor

Parameters:
throwableAttributes -
message -

SjBaseCoreRuntimeException

public SjBaseCoreRuntimeException(SjAttributesForThrowable throwableAttributes,
                                  java.lang.String message,
                                  java.lang.Throwable e)
Constructor

Parameters:
throwableAttributes -
message -
e -
Method Detail

getThrowableAttributes

public SjAttributesForThrowable getThrowableAttributes()
This method returns the throwableAttributes attribute.

Specified by:
getThrowableAttributes in interface SjInterfaceThrowable
Returns:
SjAttributesForThrowable - A class-scoped attribute.

isLogged

public boolean isLogged()
This method returns whether this exception has been logged.

Returns:
boolean - True if this exception has been logged.

initializeLogged

public void initializeLogged()
This method initializes the logged attribute to true - indicating this exception was logged.


SOAj Core v. 1.3


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