removed a debug
[lwes-java.git] / src / main / java / org / lwes / AttributeSizeException.java
blob212d1fd1bceea07c086d70a45d0027896d270543
1 /*======================================================================*
2 * Copyright (c) 2010, Frank Maritato All rights reserved. *
3 * *
4 * Licensed under the New BSD License (the "License"); you may not use *
5 * this file except in compliance with the License. Unless required *
6 * by applicable law or agreed to in writing, software distributed *
7 * under the License is distributed on an "AS IS" BASIS, WITHOUT *
8 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
9 * See the License for the specific language governing permissions and *
10 * limitations under the License. See accompanying LICENSE file. *
11 *======================================================================*/
13 package org.lwes;
14 /**
15 * @author fmaritato
18 public class AttributeSizeException extends EventSystemException {
20 public AttributeSizeException(Throwable e) {
21 super(e);
24 public AttributeSizeException(String s) {
25 super(s);
28 public AttributeSizeException(String s, Throwable e) {
29 super(s, e);
32 public AttributeSizeException(String attribute, int size, int expectedSize) {
33 super("Attribute "+attribute+" size is incorrect. Expected "+expectedSize+" but was "+size);
36 public AttributeSizeException(String attribute, int size, int expectedSize, Throwable e) {
37 super("Attribute "+attribute+" size is incorrect. Expected "+expectedSize+" but was "+size, e);