chrriis.uihierarchy.constraints
Class IllegalConstraintsException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bychrriis.uihierarchy.UIHException
                  extended bychrriis.uihierarchy.constraints.IllegalConstraintsException
All Implemented Interfaces:
Serializable

public class IllegalConstraintsException
extends UIHException

An exception while interpreting the meaning of some constraints.

Version:
1.0 2004.01.14
Author:
Christopher Deckers (chrriis@brainlex.com)
See Also:
Serialized Form

Constructor Summary
IllegalConstraintsException(SingleLevelAccessor accessor, Container parentContainer, Object constraints, Throwable target)
          Construct an IllegalConstraintsException.
 
Method Summary
 Object getConstraints()
          Get the constraints that failed the interpretation.
 Container getParentContainer()
          Get the parent of the component.
 
Methods inherited from class chrriis.uihierarchy.UIHException
getAccessor, getCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalConstraintsException

public IllegalConstraintsException(SingleLevelAccessor accessor,
                                   Container parentContainer,
                                   Object constraints,
                                   Throwable target)
Construct an IllegalConstraintsException.

Parameters:
accessor - The accessor of the component for which the creation of constraints failed.
parentContainer - The parent of the component.
constraints - The constraints that were processed.
target - The throwable that triggered this constraints exception.
Method Detail

getParentContainer

public Container getParentContainer()
Get the parent of the component.

Returns:
The parent container.

getConstraints

public Object getConstraints()
Get the constraints that failed the interpretation.

Returns:
The constraints.