com.opensymphony.xwork2.config.entities
Class ExceptionMappingConfig

java.lang.Object
  extended by com.opensymphony.xwork2.util.location.Located
      extended by com.opensymphony.xwork2.config.entities.ExceptionMappingConfig
All Implemented Interfaces:
Locatable, Serializable

public class ExceptionMappingConfig
extends Located
implements Serializable

Configuration for exception mapping.

Author:
Rainer Hermanns, Matthew E. Porter (matthew dot porter at metissian dot com)
See Also:
Serialized Form

Nested Class Summary
static class ExceptionMappingConfig.Builder
          The builder for this object.
 
Field Summary
private  String exceptionClassName
           
private  String name
           
private  Map<String,String> params
           
private  String result
           
 
Fields inherited from class com.opensymphony.xwork2.util.location.Located
location
 
Constructor Summary
protected ExceptionMappingConfig(ExceptionMappingConfig target)
           
protected ExceptionMappingConfig(String name, String exceptionClassName, String result)
           
 
Method Summary
 boolean equals(Object o)
           
 String getExceptionClassName()
           
 String getName()
           
 Map<String,String> getParams()
           
 String getResult()
           
 int hashCode()
           
 
Methods inherited from class com.opensymphony.xwork2.util.location.Located
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private String name

exceptionClassName

private String exceptionClassName

result

private String result

params

private Map<String,String> params
Constructor Detail

ExceptionMappingConfig

protected ExceptionMappingConfig(String name,
                                 String exceptionClassName,
                                 String result)

ExceptionMappingConfig

protected ExceptionMappingConfig(ExceptionMappingConfig target)
Method Detail

getName

public String getName()

getExceptionClassName

public String getExceptionClassName()

getResult

public String getResult()

getParams

public Map<String,String> getParams()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.