blob: 9dc57f3e3d7ecb8b4b57a40614a41a072a35474a [file] [log] [blame]
/*
* Copyright (c) 2009-2013, JoshuaTree. All Rights Reserved.
*/
package us.jts.fortress;
/**
* This exception extends {@link SecurityException} and is thrown when DAO cannot delete entity.
* See the {@link GlobalErrIds} javadoc for list of error ids.
*
* @author Shawn McKinney
*/
public class RemoveException extends SecurityException
{
/**
* Create an exception with an error code that maps to {@link GlobalErrIds} and message text.
*
* @param errorId see {@link GlobalErrIds} for list of valid error codes that can be set. Valid values between 0 & 100_000.
* @param msg contains textual information including method of origin and description of the root cause.
*/
public RemoveException(int errorId, String msg)
{
super(errorId, msg);
}
/**
* Create exception with error id, message and related exception.
* @param errorId see {@link GlobalErrIds} for list of valid error codes that can be set. Valid values between 0 & 100_000.
* @param msg contains textual information including method of origin and description of the root cause.
* @param previousException contains reference to related exception which usually is system related, i.e. ldap.
*/
public RemoveException(int errorId, String msg, Exception previousException)
{
super(errorId, msg, previousException);
}
}