package com.alexrnl.commons.error;

/**
 * Abstract class to use for declaring severe errors thrown.<br />
 * Will be caught at the higher level of the application.
 * @author Alex
 */
public abstract class TopLevelError extends Error {
	/** Serial Version UID */
	private static final long	serialVersionUID	= -551856567230335889L;
	
	/**
	 * Constructor #1.<br />
	 * @param message
	 *        the details of the error.
	 * @param cause
	 *        the exception that caused the error.
	 */
	public TopLevelError (final String message, final Throwable cause) {
		super(message, cause);
	}
	
}
@@ -358,16 +358,75 @@
 .%3Cbr /%3E%0A
+%09 * Build an error with both an error message and a cause.%0A
 %09 * @par
@@ -643,9 +643,561 @@
 );%0A%09%7D%0A%09%0A
+%09/**%0A%09 * Constructor #2.%3Cbr /%3E%0A%09 * Default constructor, prefer other constructor when possible.%0A%09 */%0A%09public TopLevelError () %7B%0A%09%09super();%0A%09%7D%0A%09%0A%09/**%0A%09 * Constructor #3.%3Cbr /%3E%0A%09 * Build an error with and error message.%0A%09 * @param message%0A%09 *        the details of the error.%0A%09 */%0A%09public TopLevelError (final String message) %7B%0A%09%09super(message);%0A%09%7D%0A%09%0A%09/**%0A%09 * Constructor #4.%3Cbr /%3E%0A%09 * Build an error with a cause.%0A%09 * @param cause%0A%09 *        the exception that caused the error.%0A%09 */%0A%09public TopLevelError (final Throwable cause) %7B%0A%09%09super(cause);%0A%09%7D%0A%09%0A
 %7D

Add constructors to TopLevelError