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