GoCollections/exceptions/OperationNotSupportedException.go

16 lines
365 B
Go
Raw Normal View History

2021-05-21 10:31:49 +08:00
package exceptions
type OperationNotSupportedException struct {
RuntimeException
}
2022-03-23 10:15:18 +08:00
func NewOperationNotSupportedException(message any, config *ExceptionConfig) *OperationNotSupportedException {
2022-03-21 11:02:41 +08:00
return &OperationNotSupportedException{
2021-05-21 11:14:07 +08:00
NewRuntimeException(
message,
"exception caused OperationNotSupportedException:",
2022-03-28 18:19:05 +08:00
config.AddSkipStack(1),
2021-05-21 11:14:07 +08:00
),
2021-05-21 10:31:49 +08:00
}
}