Exception
/** * @brief An Exception represents an element listed in the `throws` clause of a method of constructor. * * For example, `E` is an exception thrown by method `m` in * `void m() throws E;`, whereas `T` is an exception _type_ in * `class T extends Exception { }`. */
Inherit from ExceptionDO
Primary key: element_hash_id: int
schema Exception extends ExceptionDO { @primary element_hash_id: int, type_hash_id: int, callable_hash_id: int, name: string }
Exception::getName
/** * @brief gets the name of this element. * @return string */
- Parameter
self
:Exception
- Return
string
pub fn getName(self: Exception) -> string;
Exception::getCallableHashId
/** * @brief gets the callable hash id of this element. * @return int */
- Parameter
self
:Exception
- Return
int
pub fn getCallableHashId(self: Exception) -> int;
Exception::getTypeHashId
/** * @brief gets the type hash id of this element. * @return int */
- Parameter
self
:Exception
- Return
int
pub fn getTypeHashId(self: Exception) -> int;
Exception::getType
/** * @brief gets the type for the element. * @return Type */
- Parameter
self
:Exception
- Return
ReferenceType
pub fn getType(self: Exception) -> ReferenceType;
Exception::__all__
Data constraint method.
- Parameter
db
:JavaDB
- Return
*Exception
pub fn __all__(db: JavaDB) -> *Exception;
Exception::getCallable
/** * @brief gets the method of the exception element. * @return Method */
pub fn getCallable(self: Exception) -> Method;
Exception::getClass
/** * @brief gets the Class of the exception element. * @return Class */
pub fn getClass(self: Exception) -> Class;