All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.robobinding.viewattribute.AttributeBindingException Maven / Gradle / Ivy

The newest version!
package org.robobinding.viewattribute;

/**
 * 
 * @since 1.0
 * @version $Revision: 1.0 $
 * @author Cheng Wei
 */
@SuppressWarnings("serial")
public class AttributeBindingException extends RuntimeException {
	private String attributeName;

	public AttributeBindingException(String attributeName, Throwable cause) {
		super(cause.getMessage(), cause);
		this.attributeName = attributeName;
	}

	public String getAttributeName() {
		return attributeName;
	}

	@Override
	public String toString() {
		return attributeName + ": " + getMessage();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy