com.ls.util.threading
Class BuildException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ls.BaseException
                    |
                    +--com.ls.util.threading.BuildException
All Implemented Interfaces:
Serializable

public class BuildException
extends BaseException

This exception class is used by ObjectBuilder to indicate an error while constructing an object.

Version:
$Revision: 1.0 $
Author:
Last modified by $Author: TZink $
See Also:
Serialized Form

Fields inherited from class com.ls.BaseException
innerThrowable
 
Method Summary
 String getMessage()
          Returns a description of this build exception as a string.
 Map getPropertyErrors()
          In case this exception represents property error this method returns a map of the property errors.
 
Methods inherited from class com.ls.BaseException
getNestedThrowable, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getPropertyErrors

public Map getPropertyErrors()
In case this exception represents property error this method returns a map of the property errors. If this exception does not represent property errors this method returns null.

Returns:
A map containing the property errors represented by this build exception.

getMessage

public String getMessage()
Returns a description of this build exception as a string.

Overrides:
getMessage in class BaseException
Returns:
A string representation of this build exception.