Struct xpcom::interfaces::nsIDOMDOMException
[−]
[src]
#[repr(C)]pub struct nsIDOMDOMException { /* fields omitted */ }
interface nsIDOMDOMException : nsISupports
/**
* In general, DOM methods return specific error values in ordinary
* processing situations, such as out-of-bound errors.
* However, DOM operations can raise exceptions in "exceptional"
* circumstances, i.e., when an operation is impossible to perform
* (either for logical reasons, because data is lost, or because the
* implementation has become unstable)
*
* For more information on this interface please see
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#domexception
*/
Methods
impl nsIDOMDOMException
[src]
pub fn coerce<T: nsIDOMDOMExceptionCoerce>(&self) -> &T
[src]
Cast this nsIDOMDOMException
to one of its base interfaces.
impl nsIDOMDOMException
[src]
pub const INDEX_SIZE_ERR: i64
INDEX_SIZE_ERR: i64 = 1
pub const DOMSTRING_SIZE_ERR: i64
DOMSTRING_SIZE_ERR: i64 = 2
pub const HIERARCHY_REQUEST_ERR: i64
HIERARCHY_REQUEST_ERR: i64 = 3
pub const WRONG_DOCUMENT_ERR: i64
WRONG_DOCUMENT_ERR: i64 = 4
pub const INVALID_CHARACTER_ERR: i64
INVALID_CHARACTER_ERR: i64 = 5
pub const NO_DATA_ALLOWED_ERR: i64
NO_DATA_ALLOWED_ERR: i64 = 6
pub const NO_MODIFICATION_ALLOWED_ERR: i64
NO_MODIFICATION_ALLOWED_ERR: i64 = 7
pub const NOT_FOUND_ERR: i64
NOT_FOUND_ERR: i64 = 8
pub const NOT_SUPPORTED_ERR: i64
NOT_SUPPORTED_ERR: i64 = 9
pub const INUSE_ATTRIBUTE_ERR: i64
INUSE_ATTRIBUTE_ERR: i64 = 10
pub const INVALID_STATE_ERR: i64
INVALID_STATE_ERR: i64 = 11
pub const SYNTAX_ERR: i64
SYNTAX_ERR: i64 = 12
pub const INVALID_MODIFICATION_ERR: i64
INVALID_MODIFICATION_ERR: i64 = 13
pub const NAMESPACE_ERR: i64
NAMESPACE_ERR: i64 = 14
pub const INVALID_ACCESS_ERR: i64
INVALID_ACCESS_ERR: i64 = 15
pub const VALIDATION_ERR: i64
VALIDATION_ERR: i64 = 16
pub const TYPE_MISMATCH_ERR: i64
TYPE_MISMATCH_ERR: i64 = 17
pub const SECURITY_ERR: i64
SECURITY_ERR: i64 = 18
pub const NETWORK_ERR: i64
NETWORK_ERR: i64 = 19
pub const ABORT_ERR: i64
ABORT_ERR: i64 = 20
pub const URL_MISMATCH_ERR: i64
URL_MISMATCH_ERR: i64 = 21
pub const QUOTA_EXCEEDED_ERR: i64
QUOTA_EXCEEDED_ERR: i64 = 22
pub const TIMEOUT_ERR: i64
TIMEOUT_ERR: i64 = 23
pub const INVALID_NODE_TYPE_ERR: i64
INVALID_NODE_TYPE_ERR: i64 = 24
pub const DATA_CLONE_ERR: i64
DATA_CLONE_ERR: i64 = 25
pub const INVALID_POINTER_ERR: i64
INVALID_POINTER_ERR: i64 = 26
pub unsafe fn GetCode(&self, aCode: *mut uint16_t) -> nsresult
[src]
readonly attribute unsigned short code;
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIDOMDOMException
[src]
const IID: nsIID
IID: nsIID = nsID(1540843219, 22441, 18483, [153, 93, 219, 226, 29, 162, 149, 149])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[src]
Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more
impl RefCounted for nsIDOMDOMException
[src]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIDOMDOMException
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.