FileDocCategorySizeDatePackage
ClientInfoStatus.javaAPI DocJava SE 6 API973Tue Jun 10 00:25:48 BST 2008java.sql

ClientInfoStatus.java

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

package java.sql;

import java.util.*;

/**
 * Enumeration for status of the reason that a property could not be set
 * via a call to <code>Connection.setClientInfo</code>
 * @since 1.6
 */

public enum ClientInfoStatus { 
    
    /**
     * The client info property could not be set for some unknown reason
     * @since 1.6
     */
    REASON_UNKNOWN,
  
    /**
     * The client info property name specified was not a recognized property
     * name.
     * @since 1.6
     */
    REASON_UNKNOWN_PROPERTY,
    
    /**
     * The value specified for the client info property was not valid.
     * @since 1.6
     */
    REASON_VALUE_INVALID,
    
    /**
     * The value specified for the client info property was too large. 
     * @since 1.6
     */
    REASON_VALUE_TRUNCATED     
}