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
*/
pub fn getName(self: Exception) -> string;

Exception::getCallableHashId

/**
* @brief gets the callable hash id of this element.
* @return int
*/
pub fn getCallableHashId(self: Exception) -> int;

Exception::getTypeHashId

/**
* @brief gets the type hash id of this element.
* @return int
*/
pub fn getTypeHashId(self: Exception) -> int;

Exception::getType

/**
* @brief gets the type for the element.
* @return Type
*/
pub fn getType(self: Exception) -> ReferenceType;

Exception::__all__

Data constraint method.

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;