ThrowStatement

/**
* @brief A throw statement.
*/

Inherit from Statement

Primary key: element_hash_id: int

schema ThrowStatement extends Statement {
  @primary element_hash_id: int,
  parent_hash_id: int,
  index_order: int,
  location_hash_id: int,
  printable_text: string,
  type: string
}

ThrowStatement::getEnclosingStatement

/**
* @brief gets the statement containing this statement.
* @return Statement 
*/
pub fn getEnclosingStatement(self: ThrowStatement) -> Statement;

ThrowStatement::getParentHashId

/**
* @brief gets the parent hash id of this element.
* @return int
*/
pub fn getParentHashId(self: ThrowStatement) -> int;

ThrowStatement::getAChild

/**
* @brief gets a child of this statement.
* @return Statement 
*/
pub fn getAChild(self: ThrowStatement) -> *Statement;

ThrowStatement::getIndex

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

ThrowStatement::getException

/**
* @brief gets the body of the throwStatement.
* @return Expression 
*/
pub fn getException(self: ThrowStatement) -> Expression;

ThrowStatement::getParent

/**
* @brief gets the parent element of the statement
* @return StatementParent 
*/
pub fn getParent(self: ThrowStatement) -> ElementParent;

ThrowStatement::getLocationHashId

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

ThrowStatement::getBlock

/**
* @brief gets the body of the throwStatement.
* @return CodeBlock 
*/
pub fn getBlock(self: ThrowStatement) -> CodeBlock;

ThrowStatement::getAEnclosingStatement

/**
* @brief gets the transitive statement containing this statement.
* @return Statement 
*/
pub fn getAEnclosingStatement(self: ThrowStatement) -> *Statement;

ThrowStatement::getType

/**
* @brief gets the type of this element.
* @return string
*/
pub fn getType(self: ThrowStatement) -> string;

ThrowStatement::getResult

/**
* @brief description
* @return Expression 
*/
pub fn getResult(self: ThrowStatement) -> ElementParent;

ThrowStatement::getSize

/**
* @brief gets the size information for the element.
* @return NumberOfLines
*/
pub fn getSize(self: ThrowStatement) -> NumberOfLines;

ThrowStatement::getAnAncestor

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

ThrowStatement::getEnclosingCallable

/**
* @brief gets the immediately enclosing callable (method or constructor) whose body contains this statement.
* @return Callable 
*/
pub fn getEnclosingCallable(self: ThrowStatement) -> Callable;

ThrowStatement::__all__

Data constraint method.

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

ThrowStatement::getLocation

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

ThrowStatement::getPrintableText

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