public class Crane4jException extends RuntimeException
| 构造器和说明 |
|---|
Crane4jException(String messageTemplate,
Object... args)
Constructs a new runtime exception with the specified detail message.
|
Crane4jException(Throwable cause)
Constructs a new runtime exception with the specified cause and a
detail message of (cause==null ?
|
public Crane4jException(String messageTemplate, Object... args)
Throwable.initCause(java.lang.Throwable).messageTemplate - the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage() method.args - args of message templatepublic Crane4jException(Throwable cause)
cause - the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)Copyright © 2024. All rights reserved.