Package org.apache.log4j.config
Class PropertySetterException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.log4j.config.PropertySetterException
-
- All Implemented Interfaces:
Serializable
public class PropertySetterException extends Exception
Thrown when an error is encountered whilst attempting to set a property using thePropertySetterutility class.- Since:
- 1.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PropertySetterException(String msg)Construct the exception with the given message.PropertySetterException(Throwable rootCause)Construct the exception with the given root cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()Returns descriptive text on the cause of this exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
rootCause
protected Throwable rootCause
The root cause.
-
-
Constructor Detail
-
PropertySetterException
public PropertySetterException(String msg)
Construct the exception with the given message.- Parameters:
msg- The message
-
PropertySetterException
public PropertySetterException(Throwable rootCause)
Construct the exception with the given root cause.- Parameters:
rootCause- The root cause
-
-
Method Detail
-
getMessage
public String getMessage()
Returns descriptive text on the cause of this exception.- Overrides:
getMessagein classThrowable- Returns:
- the descriptive text.
-
-