ArgumentSizeMismatchException.java
Go to the documentation of this file.00001 /* 00002 * Main authors: 00003 * Mikael Lagerkvist <lagerkvist@gecode.org> 00004 * 00005 * Copyright: 00006 * Mikael Lagerkvist, 2006 00007 * 00008 * Last modified: 00009 * $Date: 2006-02-09 17:28:21 +0100 (Thu, 09 Feb 2006) $ by $Author: tack $ 00010 * $Revision: 2944 $ 00011 * 00012 * This file is part of Gecode, the generic constraint 00013 * development environment: 00014 * http://www.gecode.org 00015 * 00016 * See the file "LICENSE" for information on usage and 00017 * redistribution of this file, and for a 00018 * DISCLAIMER OF ALL WARRANTIES. 00019 * 00020 */ 00021 00022 package org.gecode; 00023 00028 public class ArgumentSizeMismatchException extends RuntimeException { 00029 private final static String error = "Argument size mismatch"; 00030 public ArgumentSizeMismatchException() { super(error); } 00031 public ArgumentSizeMismatchException(String message) { 00032 super(error + ": " + message); 00033 } 00034 public ArgumentSizeMismatchException(String message, Throwable cause) { 00035 super(error + ": " + message, cause); 00036 } 00037 public ArgumentSizeMismatchException(Throwable cause) { 00038 super(error, cause); 00039 } 00040 }
