edu.cmu.sphinx.util.props
Class PropertyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byedu.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

Constructor Summary
PropertyException(Configurable source, java.lang.String propertyName, java.lang.String msg)
          Creates a new property exception
 
Method Summary
 java.lang.String getMsg()
           
 java.lang.String getProperty()
          Retrieves the name of the offending property
 Configurable getSource()
           
 java.lang.String toString()
          Returns a string representation of this object
 
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
 

Constructor Detail

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.
Method Detail

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.