Expresso 5-6

com.jcorporate.expresso.core.logging
Class LogException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.jcorporate.expresso.kernel.exception.ChainedException
              extended bycom.jcorporate.expresso.core.logging.LogException
All Implemented Interfaces:
Serializable

public class LogException
extends ChainedException

Exception thrown when there is a problem with logging a message

Author:
Michael Nash
See Also:
Serialized Form

Constructor Summary
LogException()
          Constructor
LogException(String s)
          Constructor
LogException(String s, String newObjectName, String newMsg)
          Constructor
LogException(String s, Throwable t)
          Constructor
LogException(Throwable t)
          Constructor
 
Method Summary
 String getLogMsg()
          Return the logging message
 String getObjectName()
           
 
Methods inherited from class com.jcorporate.expresso.kernel.exception.ChainedException
getErrorNumber, getMessage, getNested, omitPackages, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogException

public LogException()
Constructor


LogException

public LogException(String s)
Constructor

Parameters:
s - Error message

LogException

public LogException(String s,
                    String newObjectName,
                    String newMsg)
Constructor

Parameters:
s - Error message
newObjectName - Name of the object trying to log the message
newMsg - The message that could not be logged

LogException

public LogException(String s,
                    Throwable t)
Constructor

Parameters:
s - Error message
t - The nested exception

LogException

public LogException(Throwable t)
Constructor

Parameters:
t - The nested exception
Method Detail

getLogMsg

public String getLogMsg()
Return the logging message

Returns:
The log Mesage

getObjectName

public String getObjectName()
Returns:
Returns the object name

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.