blob: 1d533a416e49d1f2203d756191c7fc4a2741a6ff [file] [log] [blame]
/*
* Copyright (c) 2009-2013, JoshuaTree. All Rights Reserved.
*/
package us.jts.fortress;
/**
* This exception extends {@link SecurityException} and is thrown when password check fails.
* See the {@link GlobalErrIds} javadoc for list of error ids.
*
* @author Shawn McKinney
*/
public class PasswordException 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 PasswordException(int errorId, String msg)
{
super(errorId, msg);
}
}