mirror of
https://github.com/tursom/GoCollections.git
synced 2025-01-15 05:21:26 +08:00
17 lines
365 B
Go
17 lines
365 B
Go
package exceptions
|
|
|
|
type OperationNotSupportedException struct {
|
|
RuntimeException
|
|
}
|
|
|
|
func NewOperationNotSupportedException(message interface{}, getStackTrace bool) OperationNotSupportedException {
|
|
return OperationNotSupportedException{
|
|
NewRuntimeException(
|
|
message,
|
|
"exception caused OperationNotSupportedException:",
|
|
getStackTrace,
|
|
nil,
|
|
),
|
|
}
|
|
}
|