mirror of
https://github.com/tursom/GoCollections.git
synced 2025-02-07 17:39:13 +08:00
17 lines
381 B
Go
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,
|
|
),
|
|
}
|
|
}
|