edu.cmu.sphinx.util.props
Class PropertyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.cmu.sphinx.util.props.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 |
equals, 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 problempropertyName
- 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
- Returns:
- the string representation of the object.