mirror of
https://github.com/tursom/GoCollections.git
synced 2025-03-30 16:50:06 +08:00
17 lines
332 B
Go
17 lines
332 B
Go
package exceptions
|
|
|
|
type ElementNotFoundException struct {
|
|
RuntimeException
|
|
}
|
|
|
|
func NewElementNotFoundException(message string, getStackTrace bool) *ElementNotFoundException {
|
|
return &ElementNotFoundException{
|
|
NewRuntimeException(
|
|
message,
|
|
"exception caused ElementNotFoundException:",
|
|
getStackTrace,
|
|
nil,
|
|
),
|
|
}
|
|
}
|