/* ======================================================================
   Parts Copyright 2006 University of Leeds, Oxford University, University of the Highlands and Islands.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

====================================================================== */

package org.bodington.server.userimport;


/** An exception saying that the ImportManager hasn't been initialised, and so
it hasn't got an importer instance to carry out the action on.
<p>
<br/>$HeadURL: https://svn.oucs.ox.ac.uk/sysdev/src/u/usrgrpgen/tags/2.0-3/uk/ac/ox/usrgrpgen/NotInitialisedException.java $
<br/>$LastChangedRevision: 3381 $
<br/>$LastChangedDate: 2004-04-02 16:43:20 +0100 (Fri, 02 Apr 2004) $
<br/>$LastChangedBy: mats $
</p>
@author	Mats Henrikson
@version $LastChangedRevision: 3381 $
*/
public class NotInitialisedException extends Exception {


	/** Common error message. */
	private static final String MESSAGE = "The ImportManager hasn't been "
			+"initialised.";


	/** Initialise the exception. */
	public NotInitialisedException() {
		super(MESSAGE);
		fillInStackTrace();
	}

	/** Initialise the exception.
	@param	message	Takes a replacement message.
	*/
	public NotInitialisedException(String message) {
		super(MESSAGE);
		fillInStackTrace();
	}
}
