FileDocCategorySizeDatePackage
PropertySetterException.javaAPI DocApache log4j 1.2.151620Sat Aug 25 00:09:42 BST 2007org.apache.log4j.config

PropertySetterException

public class PropertySetterException extends Exception
Thrown when an error is encountered whilst attempting to set a property using the {@link PropertySetter} utility class.
author
Anders Kristensen
since
1.1

Fields Summary
private static final long
serialVersionUID
protected Throwable
rootCause
Constructors Summary
public PropertySetterException(String msg)

  
  
    
    super(msg);
  
public PropertySetterException(Throwable rootCause)

    super();
    this.rootCause = rootCause;
  
Methods Summary
public java.lang.StringgetMessage()
Returns descriptive text on the cause of this exception.

    String msg = super.getMessage();
    if (msg == null && rootCause != null) {
      msg = rootCause.getMessage();
    }
    return msg;