org.jlf.httpRequest
Class HttpRequestProcessorError

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.jlf.log.AppError
                          |
                          +--org.jlf.httpRequest.HttpRequestProcessorError
All Implemented Interfaces:
java.io.Serializable

public class HttpRequestProcessorError
extends AppError

This class is to be used for throwing data mapping related exceptions.

See Also:
Serialized Form

Field Summary
protected  java.lang.String workflowName
          Holds a workflow name.
 
Fields inherited from class org.jlf.log.AppError
originalThrownObject
 
Constructor Summary
HttpRequestProcessorError(java.lang.String s)
          Constructor accepting a message string.
HttpRequestProcessorError(java.lang.String message, java.lang.String workflowName)
          Constructor accepting a message and a workflow.
HttpRequestProcessorError(java.lang.String s, java.lang.Throwable t)
          Constructor accepting a message and a Throwable object.
HttpRequestProcessorError(java.lang.String s, java.lang.Throwable t, int loggingLevel)
          Constructor accepting a message, a Throwable object, and logging information.
HttpRequestProcessorError(java.lang.Throwable t)
          Constructor accepting a reference to a Throwable object.
 
Method Summary
 java.lang.String toString()
          Returns a String representing the AppError information.
 
Methods inherited from class org.jlf.log.AppError
getOriginalThrownObject, getStackTraceAsString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

workflowName

protected java.lang.String workflowName
Holds a workflow name.

Constructor Detail

HttpRequestProcessorError

public HttpRequestProcessorError(java.lang.Throwable t)
Constructor accepting a reference to a Throwable object. This is normally used when using the AppError to "wrap" a caught exception.


HttpRequestProcessorError

public HttpRequestProcessorError(java.lang.String s)
Constructor accepting a message string.


HttpRequestProcessorError

public HttpRequestProcessorError(java.lang.String s,
                                 java.lang.Throwable t)
Constructor accepting a message and a Throwable object. This is normally used when using the AppError to "wrap" a caught exception.


HttpRequestProcessorError

public HttpRequestProcessorError(java.lang.String s,
                                 java.lang.Throwable t,
                                 int loggingLevel)
Constructor accepting a message, a Throwable object, and logging information. Use this message to automatically construct the exception, generate message text and a stack trace, and log it all to the log and logging level given as input.


HttpRequestProcessorError

public HttpRequestProcessorError(java.lang.String message,
                                 java.lang.String workflowName)
Constructor accepting a message and a workflow. Does NOT log the message to a log!

Method Detail

toString

public java.lang.String toString()
Returns a String representing the AppError information.

Overrides:
toString in class AppError