initial checkin
[lwes-java.git] / src / main / java / org / lwes / AttributeSizeException.java
blob8ccd4e42451f4bc63edb448b092098163cd34aaa
1 package org.lwes;
2 /**
3 * @author fmaritato
4 */
6 public class AttributeSizeException extends EventSystemException {
8 public AttributeSizeException(Throwable e) {
9 super(e);
12 public AttributeSizeException(String s) {
13 super(s);
16 public AttributeSizeException(String s, Throwable e) {
17 super(s, e);
20 public AttributeSizeException(String attribute, int size, int expectedSize) {
21 super("Attribute "+attribute+" size is incorrect. Expected "+expectedSize+" but was "+size);
24 public AttributeSizeException(String attribute, int size, int expectedSize, Throwable e) {
25 super("Attribute "+attribute+" size is incorrect. Expected "+expectedSize+" but was "+size, e);