2022-11-25 18:19:33 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2022 tursom. All rights reserved.
|
|
|
|
* Use of this source code is governed by a GPL-3
|
|
|
|
* license that can be found in the LICENSE file.
|
|
|
|
*/
|
|
|
|
|
2021-05-21 10:31:49 +08:00
|
|
|
package exceptions
|
|
|
|
|
|
|
|
type OperationNotSupportedException struct {
|
|
|
|
RuntimeException
|
|
|
|
}
|
|
|
|
|
2022-03-31 01:22:30 +08:00
|
|
|
func NewOperationNotSupportedException(message string, config *ExceptionConfig) *OperationNotSupportedException {
|
2022-03-21 11:02:41 +08:00
|
|
|
return &OperationNotSupportedException{
|
2022-11-26 14:07:29 +08:00
|
|
|
*NewRuntimeException(message, config.AddSkipStack(1).
|
2022-04-02 15:25:35 +08:00
|
|
|
SetExceptionName("github.com.tursom.GoCollections.exceptions.OperationNotSupportedException")),
|
2021-05-21 10:31:49 +08:00
|
|
|
}
|
|
|
|
}
|