| IllegalFormatException.java |
1 /*
2 * %W% %E%
3 *
4 * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
5 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6 */
7
8 package java.util;
9
10 /**
11 * Unchecked exception thrown when a format string contains an illegal syntax
12 * or a format specifier that is incompatible with the given arguments. Only
13 * explicit subtypes of this exception which correspond to specific errors
14 * should be instantiated.
15 *
16 * @version %I%, %G%
17 * @since 1.5
18 */
19 public class IllegalFormatException extends IllegalArgumentException {
20
21 private static final long serialVersionUID = 18830826L;
22
23 // package-private to prevent explicit instantiation
24 IllegalFormatException() { }
25 }
26