com.hack23.cia.model.impl.application.events.user
Class ApplicationErrorActionEvent

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

@Entity
public class ApplicationErrorActionEvent
extends AbstractActionEvent
implements ApplicationErrorEventData

The Class ApplicationErrorActionEvent.

See Also:
Serialized Form

Constructor Summary
Constructor and Description
ApplicationErrorActionEvent()
          Instantiates a new application error action event.
ApplicationErrorActionEvent(Date createdDate, String stackTrace, String errorMessage)
          Instantiates a new application error action event.
 
Method Summary
Modifier and Type Method and Description
 ActionEventType getActionEventType()
          Gets the action event type.
 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.impl.application.events.user.AbstractActionEvent
computeExutionTime, getApplicationTypeContext, getCreatedDate, getExecutionTime, getId, getVersion, setCreatedDate, setExecutionTime, setId, setVersion
 
Methods inherited from class com.hack23.cia.model.impl.common.BaseEntity
equals, getTypeContext, 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.api.application.events.ActionEvent
computeExutionTime, getCreatedDate, getExecutionTime, setCreatedDate, setExecutionTime
 
Methods inherited from interface com.hack23.cia.model.api.common.PersistedModelObject
getId, getTypeContext, getVersion, isNew, setId, setVersion
 

Constructor Detail

ApplicationErrorActionEvent

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


ApplicationErrorActionEvent

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

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

getActionEventType

public ActionEventType getActionEventType()
Description copied from interface: ActionEvent
Gets the action event type.

Specified by:
getActionEventType in interface ActionEvent
Specified by:
getActionEventType in class AbstractActionEvent
Returns:
the action event type

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-2010 www.hack23.com. All Rights Reserved.