1 /* 2 * @(#)RefreshFailedException.java 1.8 03/12/19 3 * 4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 package javax.security.auth; 9 10 /** 11 * Signals that a <code>refresh</code> operation failed. 12 * 13 * <p> This exception is thrown by credentials implementing 14 * the <code>Refreshable</code> interface when the <code>refresh</code> 15 * method fails. 16 * 17 * @version 1.8, 12/19/03 18 */ 19 public class RefreshFailedException extends Exception { 20 21 private static final long serialVersionUID = 5058444488565265840L; 22 23 /** 24 * Constructs a RefreshFailedException with no detail message. A detail 25 * message is a String that describes this particular exception. 26 */ 27 public RefreshFailedException() { 28 super(); 29 } 30 31 /** 32 * Constructs a RefreshFailedException with the specified detail 33 * message. A detail message is a String that describes this particular 34 * exception. 35 * 36 * <p> 37 * 38 * @param msg the detail message. 39 */ 40 public RefreshFailedException(String msg) { 41 super(msg); 42 } 43 } 44