KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > sql > ClientInfoStatus


1 /*
2  * @(#)ClientInfoStatus.java 1.1 06/05/28
3  *
4  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package java.sql;
9
10 import java.util.*;
11
12 /**
13  * Enumeration for status of the reason that a property could not be set
14  * via a call to <code>Connection.setClientInfo</code>
15  * @since 1.6
16  */

17
18 public enum ClientInfoStatus {
19     
20     /**
21      * The client info property could not be set for some unknown reason
22      * @since 1.6
23      */

24     REASON_UNKNOWN,
25   
26     /**
27      * The client info property name specified was not a recognized property
28      * name.
29      * @since 1.6
30      */

31     REASON_UNKNOWN_PROPERTY,
32     
33     /**
34      * The value specified for the client info property was not valid.
35      * @since 1.6
36      */

37     REASON_VALUE_INVALID,
38     
39     /**
40      * The value specified for the client info property was too large.
41      * @since 1.6
42      */

43     REASON_VALUE_TRUNCATED
44 }
45
Popular Tags