edu.cmu.relativelayout
Class InvalidBindingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
edu.cmu.relativelayout.InvalidBindingException
- All Implemented Interfaces:
- Serializable
public class InvalidBindingException
- extends RuntimeException
Indicates that a Binding is invalid; that is, it is not physically possible. This could be as a result of
saying something like "the left edge of X should be below the right edge of Y" -- left and right edges cannot be
above or below other edges. Similarly, "the left edge of X should be below the top edge of Y" will also raise an
InvalidBindingException, because you cannot relate edges that are perpendicular to each other.
- Author:
- Brian Ellis (phoenix1701@gmail.com)
- See Also:
- Serialized Form
InvalidBindingException
public InvalidBindingException(Binding binding)
- Constructor for InvalidBindingException.
- Parameters:
binding -
getMessage
public String getMessage()
- Overrides:
getMessage in class Throwable