unsupportedauthenticationexception.java

来自「这是linux下ssl vpn的实现程序」· Java 代码 · 共 33 行

JAVA
33
字号
/*
 * Created on Feb 25, 2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.maverick.http;

/**
 * @author lee
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class UnsupportedAuthenticationException extends Exception {

        String[] methods;

        public UnsupportedAuthenticationException(String[] methods) {
          this(methods, "Authentication is not supported");
        }

	public UnsupportedAuthenticationException(String[] methods, String str) {
		super(str);
                this.methods = methods;
	}

        public String[] getMethods() {
          return methods;
        }

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?