blob: f0a79e87db1f9bfec27633df239ab0abacb839c2 [file] [log] [blame]
/**********************************************************************
* This file is part of the "Object Teams Runtime Environment"
*
* Copyright 2007-2009 Berlin Institute of Technology, Germany.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Please visit http://www.eclipse.org/objectteams for updates and contact.
*
* Contributors:
* Berlin Institute of Technology - Initial API and implementation
**********************************************************************/
package org.objectteams;
/**
* Exception to be thrown when a bound role is being instantiated but
* the constructor does not assign a base object.
*
* @author stephan
*/
@SuppressWarnings("serial")
public class IllegalRoleCreationException extends RuntimeException {
public IllegalRoleCreationException() {
super();
}
@Override
public String getMessage() {
return "Cannot instantiate a bound role using a default constructor of its tsuper class";
}
}