Package me.axolotl.api.exception
Class MethodNotAllowed
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
me.axolotl.api.exception.MethodNotAllowed
- All Implemented Interfaces:
Serializable
MethodNotAllowed異常在試圖調用不允許的方法時拋出。
- Since:
- 2024-02-08
- See Also:
-
Constructor Summary
ConstructorsConstructorDescription構造一個新的MethodNotAllowed異常,沒有詳細消息。MethodNotAllowed(String message) 構造一個新的MethodNotAllowed異常,帶有指定的詳細消息。MethodNotAllowed(String message, Throwable cause) 構造一個新的MethodNotAllowed異常,帶有指定的詳細消息和原因。MethodNotAllowed(Throwable cause) 構造一個新的MethodNotAllowed異常,帶有指定的原因。 -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MethodNotAllowed
public MethodNotAllowed()構造一個新的MethodNotAllowed異常,沒有詳細消息。 -
MethodNotAllowed
構造一個新的MethodNotAllowed異常,帶有指定的詳細消息。- Parameters:
message- 詳細消息。
-
MethodNotAllowed
構造一個新的MethodNotAllowed異常,帶有指定的原因。- Parameters:
cause- 異常的原因。
-
MethodNotAllowed
構造一個新的MethodNotAllowed異常,帶有指定的詳細消息和原因。- Parameters:
message- 詳細消息。cause- 異常的原因。
-