26 lines
511 B
Go
26 lines
511 B
Go
package gozxing
|
|
|
|
type NotFoundException interface {
|
|
ReaderException
|
|
notFoundException()
|
|
}
|
|
|
|
type notFoundException struct {
|
|
exception
|
|
}
|
|
|
|
func (notFoundException) readerException() {}
|
|
func (notFoundException) notFoundException() {}
|
|
|
|
func NewNotFoundException(args ...interface{}) NotFoundException {
|
|
return notFoundException{
|
|
newException("NotFoundException", args...),
|
|
}
|
|
}
|
|
|
|
func WrapNotFoundException(e error) NotFoundException {
|
|
return notFoundException{
|
|
wrapException("NotFoundException", e),
|
|
}
|
|
}
|