Searched refs:ZfsdException (Results 1 - 8 of 8) sorted by relevance

/freebsd-12-stable/cddl/usr.sbin/zfsd/
H A Dzfsd_exception.h38 * Definition of the ZfsdException class hierarchy. All exceptions
57 /*------------------------------- ZfsdException ------------------------------*/
61 class ZfsdException : public DevdCtl::Exception class in inherits:DevdCtl::Exception
65 * \brief ZfsdException constructor allowing arbitrary string
70 ZfsdException(const char *fmt, ...);
73 * \brief ZfsdException constructor allowing arbitrary string
84 ZfsdException(zpool_handle_t *pool, const char *, ...);
87 * \brief ZfsdException constructor allowing arbitrary string
98 ZfsdException(nvlist_t *poolConfig, const char *, ...);
H A Dzfsd_exception.cc36 * Implementation of the ZfsdException class.
62 /*------------------------------- ZfsdException ------------------------------*/
63 ZfsdException::ZfsdException(const char *fmt, ...) function in class:ZfsdException
75 ZfsdException::ZfsdException(zpool_handle_t *pool, const char *fmt, ...) function in class:ZfsdException
87 ZfsdException::ZfsdException(nvlist_t *poolConfig, const char *fmt, ...) function in class:ZfsdException
100 ZfsdException::Log() const
H A Dvdev.cc101 throw ZfsdException("Unable to extract vdev GUID "
111 throw ZfsdException("Can't extract pool GUID from handle.");
120 throw ZfsdException("Can't extract pool GUID from config.");
139 } catch (const ZfsdException &exp) {
H A Dvdev_iterator.cc87 throw ZfsdException(m_poolConfig, "Unable to extract "
H A Dcallout.cc106 throw ZfsdException("Callout::Reset: interval of 0");
H A Dzfsd_event.cc211 } catch (ZfsdException &exp) {
243 } catch (ZfsdException &exp) {
H A Dcase_file.cc721 throw ZfsdException("CaseFile::DeSerialize: "
765 throw ZfsdException("CaseFile::DeSerialize: Unable to "
780 } catch (const ZfsdException &zfsException) {
/freebsd-12-stable/cddl/usr.sbin/zfsd/tests/
H A Dzfsd_unittest.cc203 * Test class ZfsdException
236 ZfsdException ze("");
242 ZfsdException ze(" %d %s", 55, "hello world");
248 ZfsdException ze("unit test w/o vdev or pool");
259 ZfsdException ze(poolConfig, msg);
269 ZfsdException ze(&poolHandle, msg);

Completed in 117 milliseconds