com.hyper9.vangaea.impls.beans
Class ErrorMessageBeanImpl

java.lang.Object
  extended by com.hyper9.uvapi.impls.BeanImpl
      extended by com.hyper9.vangaea.impls.beans.MessageBeanImpl
          extended by com.hyper9.vangaea.impls.beans.ErrorMessageBeanImpl
All Implemented Interfaces:
com.hyper9.common.beans.Bean, ErrorMessageBean, MessageBean, java.io.Serializable

public class ErrorMessageBeanImpl
extends MessageBeanImpl
implements ErrorMessageBean

A bean that describes an error.

Author:
akutz
See Also:
Serialized Form

Constructor Summary
ErrorMessageBeanImpl()
          Default constructor for serialization.
ErrorMessageBeanImpl(java.lang.String message)
          Initializes a new instance of the ErrorMessageBeanImpl class.
ErrorMessageBeanImpl(java.lang.String message, java.lang.Throwable e)
          Initializes a new instance of the ErrorMessageBeanImpl class.
ErrorMessageBeanImpl(java.lang.Throwable e)
          Initializes a new instance of the ErrorMessageBeanImpl class.
 
Method Summary
 java.lang.String getStackTrace()
          Gets the stack trace.
 void setStackTrace(java.lang.String toSet)
          Sets the stack trace.
 
Methods inherited from class com.hyper9.vangaea.impls.beans.MessageBeanImpl
getMessage, setMessage
 
Methods inherited from class com.hyper9.uvapi.impls.BeanImpl
toString, toString, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hyper9.vangaea.types.beans.MessageBean
getMessage, setMessage
 
Methods inherited from interface com.hyper9.common.beans.Bean
toString, toString, toString, toString
 

Constructor Detail

ErrorMessageBeanImpl

public ErrorMessageBeanImpl()
Default constructor for serialization.


ErrorMessageBeanImpl

public ErrorMessageBeanImpl(java.lang.String message)
Initializes a new instance of the ErrorMessageBeanImpl class.

Parameters:
message - The error message.

ErrorMessageBeanImpl

public ErrorMessageBeanImpl(java.lang.Throwable e)
Initializes a new instance of the ErrorMessageBeanImpl class.

Parameters:
e - The error to wrap.

ErrorMessageBeanImpl

public ErrorMessageBeanImpl(java.lang.String message,
                            java.lang.Throwable e)
Initializes a new instance of the ErrorMessageBeanImpl class.

Parameters:
message - The error message.
e - The error to wrap.
Method Detail

getStackTrace

public java.lang.String getStackTrace()
Description copied from interface: ErrorMessageBean
Gets the stack trace.

Specified by:
getStackTrace in interface ErrorMessageBean
Returns:
The stack trace.

setStackTrace

public void setStackTrace(java.lang.String toSet)
Description copied from interface: ErrorMessageBean
Sets the stack trace.

Specified by:
setStackTrace in interface ErrorMessageBean
Parameters:
toSet - The stack trace.


Copyright © 2009 Hyper9. All Rights Reserved.