com.hack23.cia.model.application.impl.common
Class ApplicationErrorActionEvent

Package class diagram package ApplicationErrorActionEvent
java.lang.Object
  extended by com.hack23.cia.model.common.impl.BaseEntity
      extended by com.hack23.cia.model.application.impl.common.AbstractActionEvent
          extended by com.hack23.cia.model.application.impl.common.ApplicationErrorActionEvent
All Implemented Interfaces:
ActionEvent, Event, ModelObject, PersistedModelObject, Serializable

@Entity
public class ApplicationErrorActionEvent
extends AbstractActionEvent

The Class ApplicationErrorActionEvent.

See Also:
Serialized Form

Constructor Summary
ApplicationErrorActionEvent()
          Instantiates a new application error action event.
ApplicationErrorActionEvent(Date createdDate, UserSession userSession, String stackTrace, String errorMessage)
          Instantiates a new application error action event.
 
Method Summary
 String getErrorMessage()
          Gets the error message.
 String getStackTrace()
          Gets the stack trace.
 void setErrorMessage(String errorMessage)
          Sets the error message.
 void setStackTrace(String stackTrace)
          Sets the stack trace.
 
Methods inherited from class com.hack23.cia.model.application.impl.common.AbstractActionEvent
computeExutionTime, getActionEventType, getCreatedDate, getExecutionTime, getId, getUserSession, getVersion, setActionEventType, setCreatedDate, setExecutionTime, setId, setUserSession, setVersion
 
Methods inherited from class com.hack23.cia.model.common.impl.BaseEntity
equals, hashCode, isNew
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hack23.cia.model.common.api.PersistedModelObject
isNew
 

Constructor Detail

ApplicationErrorActionEvent

public ApplicationErrorActionEvent()
Instantiates a new application error action event.


ApplicationErrorActionEvent

public ApplicationErrorActionEvent(Date createdDate,
                                   UserSession userSession,
                                   String stackTrace,
                                   String errorMessage)
Instantiates a new application error action event.

Parameters:
createdDate - the created date
userSession - the user session
stackTrace - the stack trace
errorMessage - the error message
Method Detail

getErrorMessage

public String getErrorMessage()
Gets the error message.

Returns:
the error message

getStackTrace

public String getStackTrace()
Gets the stack trace.

Returns:
the stack trace

setErrorMessage

public void setErrorMessage(String errorMessage)
Sets the error message.

Parameters:
errorMessage - the new error message

setStackTrace

public void setStackTrace(String stackTrace)
Sets the stack trace.

Parameters:
stackTrace - the new stack trace


Copyright © 2008-2009 www.hack23.com. All Rights Reserved.