IncorrectPasswordException

遗产: java.lang.Object, java.lang.Throwable, java.lang.Exception

public class IncorrectPasswordException extends Exception

如果文档使用密码加密并且打开文档时指定的密码不正确或丢失,则抛出此错误。

要了解更多信息,请访问Programming with Documents文档文章。

方法

方法描述
addSuppressed(Throwable arg0)
equals(Object arg0)
fillInStackTrace()
getCause()
getClass()
getLocalizedMessage()
getMessage()
getStackTrace()
getSuppressed()
hashCode()
initCause(Throwable arg0)
notify()
notifyAll()
printStackTrace()
printStackTrace(PrintStream arg0)
printStackTrace(PrintWriter arg0)
setStackTrace(StackTraceElement[] arg0)
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

addSuppressed(Throwable arg0)

public final synchronized void addSuppressed(Throwable arg0)

参数:

范围类型描述
arg0java.lang.Throwable

equals(Object arg0)

public boolean equals(Object arg0)

参数:

范围类型描述
arg0java.lang.Object

退货: 布尔值

fillInStackTrace()

public synchronized Throwable fillInStackTrace()

退货: java.lang.Throwable

getCause()

public synchronized Throwable getCause()

退货: java.lang.Throwable

getClass()

public final native Class<?> getClass()

退货: java.lang.Class

getLocalizedMessage()

public String getLocalizedMessage()

退货: java.lang.字符串

getMessage()

public String getMessage()

退货: java.lang.字符串

getStackTrace()

public StackTraceElement[] getStackTrace()

退货: java.lang.StackTraceElement[]

getSuppressed()

public final synchronized Throwable[] getSuppressed()

退货: java.lang.Throwable[]

hashCode()

public native int hashCode()

退货: 整数

initCause(Throwable arg0)

public synchronized Throwable initCause(Throwable arg0)

参数:

范围类型描述
arg0java.lang.Throwable

退货: java.lang.Throwable

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

printStackTrace()

public void printStackTrace()

printStackTrace(PrintStream arg0)

public void printStackTrace(PrintStream arg0)

参数:

范围类型描述
arg0java.io.PrintStream

printStackTrace(PrintWriter arg0)

public void printStackTrace(PrintWriter arg0)

参数:

范围类型描述
arg0java.io.PrintWriter

setStackTrace(StackTraceElement[] arg0)

public void setStackTrace(StackTraceElement[] arg0)

参数:

范围类型描述
arg0java.lang.StackTraceElement[]

toString()

public String toString()

退货: java.lang.字符串

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

参数:

范围类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

参数:

范围类型描述
arg0long
arg1int