GoCollections/exceptions/OperationNotSupportedException.go
2022-03-21 11:02:41 +08:00

17 lines
381 B
Go

package exceptions
type OperationNotSupportedException struct {
RuntimeException
}
func NewOperationNotSupportedException(message interface{}, config *ExceptionConfig) *OperationNotSupportedException {
config.AddSkipStack(1)
return &OperationNotSupportedException{
NewRuntimeException(
message,
"exception caused OperationNotSupportedException:",
config,
),
}
}