foundry-0.9.1

foundry.diagnostics
Class WarningEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--foundry.diagnostics.WarningEvent
All Implemented Interfaces:
Serializable

public class WarningEvent
extends EventObject

See Also:
Serialized Form

Field Summary
protected  String message
           
protected  Throwable throwable
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
  WarningEvent(Object source, ResourceBundle bundle, String key, Object[] args)
           
  WarningEvent(Object source, String defaultMessage)
           
  WarningEvent(Object source, Throwable throwable)
           
protected WarningEvent(Object source, Throwable throwable, ResourceBundle bundle, String key, Object[] args, String defaultMessage)
           
 
Method Summary
protected  void calculateMessage(Throwable throwable, ResourceBundle bundle, String key, Object[] args, String defaultMessage)
           
 String getMessage()
           
 Throwable getThrowable()
           
 String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

throwable

protected final Throwable throwable

message

protected String message
Constructor Detail

WarningEvent

protected WarningEvent(Object source,
                       Throwable throwable,
                       ResourceBundle bundle,
                       String key,
                       Object[] args,
                       String defaultMessage)

WarningEvent

public WarningEvent(Object source,
                    Throwable throwable)

WarningEvent

public WarningEvent(Object source,
                    String defaultMessage)

WarningEvent

public WarningEvent(Object source,
                    ResourceBundle bundle,
                    String key,
                    Object[] args)
Method Detail

getThrowable

public Throwable getThrowable()

calculateMessage

protected void calculateMessage(Throwable throwable,
                                ResourceBundle bundle,
                                String key,
                                Object[] args,
                                String defaultMessage)

getMessage

public String getMessage()

toString

public String toString()
Overrides:
toString in class EventObject

foundry-0.9.1

Copyright © 2000 - Laird Jarrett Nelson