CatchClause

/** * @brief A single catch section of a try ... catch statement. */ 

Inherit from CatchSectionDO

Primary key: element_hash_id: int

schema CatchClause extends CatchSectionDO { @primary element_hash_id: int, printable_text: string, parameter_hash_id: int, type_hash_id: int, location_hash_id: int, try_statement_hash_id: int, index_order: int } 

CatchClause::getTypeHashId

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

CatchClause::getParameterHashId

/** * @brief gets the parameter hash id of this element. * @return int */ 
pub fn getParameterHashId(self: CatchClause) -> int; 

CatchClause::getTryStatementHashId

/** * @brief gets the try statement hash id of this element. * @return int */ 
pub fn getTryStatementHashId(self: CatchClause) -> int; 

CatchClause::getParent

/** * @brief gets the ast element parent of the element. * @return ElementParent */ 
pub fn getParent(self: CatchClause) -> ElementParent; 

CatchClause::getLocationHashId

/** * @brief gets the location hash id of this element. * @return int */ 
pub fn getLocationHashId(self: CatchClause) -> int; 

CatchClause::getAnAncestor

/** * @brief gets an ancestor of the element. * @return ElementParent */ 
pub fn getAnAncestor(self: CatchClause) -> *ElementParent; 

CatchClause::getType

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

CatchClause::getParameter

/** * @brief gets the parameter of this catch clause. * @return Parameter */ 
pub fn getParameter(self: CatchClause) -> Parameter; 

CatchClause::getBlock

/** * @brief gets the block of this catch clause * @return CodeBlock */ 
pub fn getBlock(self: CatchClause) -> CodeBlock; 

CatchClause::getLocation

/** * @brief gets the location for the element. * @return Location */ 
pub fn getLocation(self: CatchClause) -> Location; 

CatchClause::__all__

Data constraint method.

pub fn __all__(db: JavaDB) -> *CatchClause; 

CatchClause::getTryStatement

/** * @brief get the try statement in which this catch clause occurs. * @return TryStatement */ 
pub fn getTryStatement(self: CatchClause) -> TryStatement; 

CatchClause::getPrintableText

/** * @brief gets a printed representation of this element, including its structure where applicable. * @return string. */ 
pub fn getPrintableText(self: CatchClause) -> string; 

CatchClause::getIndex

/** * @brief gets the index order of this element. * @return int */ 
pub fn getIndex(self: CatchClause) -> int;