TrialException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException

public class TrialException extends RuntimeException

当未应用许可证时,在 Scene.Open/Scene.Save 中会抛出此异常。您可以通过将 SuppressTrialException 设置为 true 来关闭此异常。

构造函数

构造函数描述
TrialException(String msg)TrialException 的构造函数
TrialException()TrialException 的构造函数

方法

方法描述
addSuppressed(Throwable arg0)
equals(Object arg0)
fillInStackTrace()
getCause()
getClass()
getLocalizedMessage()
getMessage()
getStackTrace()
getSuppressTrialException()将其设置为 true 以抑制未授权使用时的试用异常,但限制不会被解除。
getSuppressed()
hashCode()
initCause(Throwable arg0)
notify()
notifyAll()
printStackTrace()
printStackTrace(PrintStream arg0)
printStackTrace(PrintWriter arg0)
setStackTrace(StackTraceElement[] arg0)
setSuppressTrialException(boolean value)将其设置为 true 以抑制未授权使用时的试用异常,但限制不会被解除。
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

TrialException(String msg)

public TrialException(String msg)

TrialException 的构造函数

Parameters:

参数类型描述
msgjava.lang.String

TrialException()

public TrialException()

TrialException 的构造函数

addSuppressed(Throwable arg0)

public final synchronized void addSuppressed(Throwable arg0)

Parameters:

参数类型描述
arg0java.lang.Throwable

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

参数类型描述
arg0java.lang.Object

Returns: 布尔

fillInStackTrace()

public synchronized Throwable fillInStackTrace()

Returns: java.lang.Throwable

getCause()

public synchronized Throwable getCause()

Returns: java.lang.Throwable

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getLocalizedMessage()

public String getLocalizedMessage()

Returns: java.lang.String

getMessage()

public String getMessage()

Returns: java.lang.String

getStackTrace()

public StackTraceElement[] getStackTrace()

Returns: java.lang.StackTraceElement[]

getSuppressTrialException()

public static boolean getSuppressTrialException()

将其设置为 true 以抑制未授权使用时的试用异常,但限制不会被解除。要解除限制,请使用有效许可证。将其设置为 true 还表示您已知晓未授权使用的限制。

Returns: boolean - 将其设置为 true 以抑制未授权使用时的试用异常,但限制不会被解除。要解除限制,请使用有效许可证。将其设置为 true 还表示您已知晓未授权使用的限制。

getSuppressed()

public final synchronized Throwable[] getSuppressed()

Returns: java.lang.Throwable[]

hashCode()

public native int hashCode()

Returns: int

initCause(Throwable arg0)

public synchronized Throwable initCause(Throwable arg0)

Parameters:

参数类型描述
arg0java.lang.Throwable

Returns: 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)

Parameters:

参数类型描述
arg0java.io.PrintStream

printStackTrace(PrintWriter arg0)

public void printStackTrace(PrintWriter arg0)

Parameters:

参数类型描述
arg0java.io.PrintWriter

setStackTrace(StackTraceElement[] arg0)

public void setStackTrace(StackTraceElement[] arg0)

Parameters:

参数类型描述
arg0java.lang.StackTraceElement[]

setSuppressTrialException(boolean value)

public static void setSuppressTrialException(boolean value)

将其设置为 true 以抑制未授权使用时的试用异常,但限制不会被解除。要解除限制,请使用有效许可证。将其设置为 true 还表示您已知晓未授权使用的限制。

Parameters:

参数类型描述
布尔新值

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

参数类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

参数类型描述
arg0long
arg1int