emolib.util.conf
Class PropertyException
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           emolib.util.conf.PropertyException
emolib.util.conf.PropertyException
- All Implemented Interfaces: 
- java.io.Serializable
- public class PropertyException 
- extends java.lang.Exception
Indicates that a problem occurred while setting one or more
 properties for this component
- See Also:
- Serialized Form
 
 
| Methods inherited from class java.lang.Throwable | 
| fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
PropertyException
public PropertyException(Configurable source,
                         java.lang.String propertyName,
                         java.lang.String msg)
- Creates a new property exception
 
- Parameters:
- source- the source of the problem
- propertyName- the name of the property with the problem.
- msg- a description of the problem.
 
getMsg
public java.lang.String getMsg()
- 
- Returns:
- Returns the msg.
 
getSource
public Configurable getSource()
- 
- Returns:
- Returns the source of this exception.
 
getProperty
public java.lang.String getProperty()
- Retrieves the name of the offending property
 
- 
- Returns:
- the name of the offending property
 
toString
public java.lang.String toString()
- Returns a string representation of this object
 
- 
- Overrides:
- toStringin class- java.lang.Throwable
 
- 
- Returns:
- the string representation of the object.