org.kuali.rice.kns.web.format
Class FormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.kuali.rice.kns.web.format.FormatException
All Implemented Interfaces:
Serializable

public class FormatException
extends RuntimeException

begin Kuali Foundation modification javadoc changed This class is used to format Exception messages. end Kuali Foundation modification

See Also:
Serialized Form

Field Summary
private  String[] errorArgs
           
private  String errorKey
           
private  String formatProperty
           
private  Object formatValue
           
private static long serialVersionUID
           
 
Constructor Summary
FormatException(String message)
           
FormatException(String message, String errorKey, String errorArg)
           
FormatException(String message, String errorKey, String errorArg, Throwable cause)
           
FormatException(String message, Throwable cause)
           
 
Method Summary
 String[] getErrorArgs()
           
 String getErrorKey()
           
 String getFormatProperty()
           
 Object getFormatValue()
           
 void setFormatProperty(String formatProperty)
           
 void setFormatValue(Object formatValue)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

formatProperty

private String formatProperty

formatValue

private Object formatValue

errorKey

private final String errorKey

errorArgs

private final String[] errorArgs
Constructor Detail

FormatException

public FormatException(String message)

FormatException

public FormatException(String message,
                       Throwable cause)

FormatException

public FormatException(String message,
                       String errorKey,
                       String errorArg)

FormatException

public FormatException(String message,
                       String errorKey,
                       String errorArg,
                       Throwable cause)
Method Detail

getFormatProperty

public String getFormatProperty()
Returns:
Returns the formatProperty.

setFormatProperty

public void setFormatProperty(String formatProperty)
Parameters:
formatProperty - The formatProperty to set.

getFormatValue

public Object getFormatValue()
Returns:
Returns the formatValue.

setFormatValue

public void setFormatValue(Object formatValue)
Parameters:
formatValue - The formatValue to set.

getErrorKey

public String getErrorKey()
Returns:
the error key for use in the global error map.

getErrorArgs

public String[] getErrorArgs()
Returns:
the array of arguments for the keyed error message.


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.