/*
 * This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
 *
 * Copyright 2008-2012 Geosparc nv, http://www.geosparc.com/, Belgium.
 *
 * The program is available in open source according to the GNU Affero
 * General Public License. All contributions in this program are covered
 * by the Geomajas Contributors License Agreement. For full licensing
 * details, see LICENSE.txt in the project root.
 */
package org.geomajas.plugin.rasterizing.api;

import org.geomajas.annotation.Api;
import org.geomajas.global.GeomajasException;

/**
 * Exception class for the rasterizing plugin.
 * 
 * @author Jan De Moerloose
 * @since 1.0.0
 * 
 */
@Api(allMethods = true)
public class RasterException extends GeomajasException {

	public static final int IMAGE_WRITING_FAILED = 1;

	public static final int MISSING_LAYER_FACTORY = 2;

	/**
	 * Create new RasterException.
	 *
	 * @param exceptionCode code which points to the message
	 * @param parameters possible extra parameters
	 */
	public RasterException(int exceptionCode, Object... parameters) {
		super(exceptionCode, parameters);
	}

	/**
	 * Create new RasterException.
	 *
	 * @param exceptionCode code which points to the message
	 */
	public RasterException(int exceptionCode) {
		super(exceptionCode);
	}

	/**
	 * Create new RasterException.
	 *
	 * @param ex cause exception
	 * @param exceptionCode code which points to the message
	 * @param parameters possible extra parameters
	 */
	public RasterException(Throwable ex, int exceptionCode, Object... parameters) {
		super(ex, exceptionCode, parameters);
	}

	/**
	 * Create new RasterException.
	 *
	 * @param ex cause exception
	 * @param exceptionCode code which points to the message
	 * @param parameters possible extra parameters
	 */
	public RasterException(Throwable ex, int exceptionCode) {
		super(ex, exceptionCode);
	}

}

@@ -730,16 +730,46 @@
 tion %7B%0A%0A
+%09/** Image writing failed. */%0A
 %09public 
@@ -811,16 +811,46 @@
 ED = 1;%0A
+%09/** Missing layer factory. */
 %0A%09public
@@ -1771,56 +1771,8 @@
 age%0A
-%09 * @param parameters possible extra parameters%0A
 %09 */

add missing javadoc on api