jdk/src/java.base/share/classes/com/sun/security/ntlm/NTLMException.java
changeset 32649 2ee9017c7597
parent 25859 3317bb8137f4
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
    34     private static final long serialVersionUID = -3298539507906689430L;
    34     private static final long serialVersionUID = -3298539507906689430L;
    35 
    35 
    36     /**
    36     /**
    37      * If the incoming packet is invalid.
    37      * If the incoming packet is invalid.
    38      */
    38      */
    39     public final static int PACKET_READ_ERROR = 1;
    39     public static final int PACKET_READ_ERROR = 1;
    40 
    40 
    41     /**
    41     /**
    42      * If the client cannot get a domain value from the server and the
    42      * If the client cannot get a domain value from the server and the
    43      * caller has not provided one.
    43      * caller has not provided one.
    44      */
    44      */
    45     public final static int NO_DOMAIN_INFO = 2;
    45     public static final int NO_DOMAIN_INFO = 2;
    46 
    46 
    47     /**
    47     /**
    48      * If the domain provided by the client does not match the one received
    48      * If the domain provided by the client does not match the one received
    49      * from server.
    49      * from server.
    50      */
    50      */
    51     //public final static int DOMAIN_UNMATCH = 3;
    51     //public final static int DOMAIN_UNMATCH = 3;
    52 
    52 
    53     /**
    53     /**
    54      * If the client name is not found on server's user database.
    54      * If the client name is not found on server's user database.
    55      */
    55      */
    56     public final static int USER_UNKNOWN = 3;
    56     public static final int USER_UNKNOWN = 3;
    57 
    57 
    58     /**
    58     /**
    59      * If authentication fails.
    59      * If authentication fails.
    60      */
    60      */
    61     public final static int AUTH_FAILED = 4;
    61     public static final int AUTH_FAILED = 4;
    62 
    62 
    63     /**
    63     /**
    64      * If an illegal version string is provided.
    64      * If an illegal version string is provided.
    65      */
    65      */
    66     public final static int BAD_VERSION = 5;
    66     public static final int BAD_VERSION = 5;
    67 
    67 
    68     /**
    68     /**
    69      * Protocol errors.
    69      * Protocol errors.
    70      */
    70      */
    71     public final static int PROTOCOL = 6;
    71     public static final int PROTOCOL = 6;
    72 
    72 
    73     private int errorCode;
    73     private int errorCode;
    74 
    74 
    75     /**
    75     /**
    76      * Constructs an NTLMException object.
    76      * Constructs an NTLMException object.