Source code: org/acegisecurity/providers/rcp/RemoteAuthenticationException.java
1 /* Copyright 2004 Acegi Technology Pty Limited
2 *
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16 package org.acegisecurity.providers.rcp;
17
18 import org.acegisecurity.AcegiSecurityException;
19
20
21 /**
22 * Thrown if a <code>RemoteAuthenticationManager</code> cannot validate the
23 * presented authentication request.
24 *
25 * <P>
26 * This is thrown rather than the normal <code>AuthenticationException</code>
27 * because <code>AuthenticationException</code> contains additional properties
28 * which may cause issues for the remoting protocol.
29 * </p>
30 *
31 * @author Ben Alex
32 * @version $Id: RemoteAuthenticationException.java,v 1.2 2005/11/17 00:55:51 benalex Exp $
33 */
34 public class RemoteAuthenticationException extends AcegiSecurityException {
35 //~ Constructors ===========================================================
36
37 /**
38 * Constructs a <code>RemoteAuthenticationException</code> with the
39 * specified message and no root cause.
40 *
41 * @param msg the detail message
42 */
43 public RemoteAuthenticationException(String msg) {
44 super(msg);
45 }
46 }