Blink API

Blink::ParseException Class Reference

Exception thrown when attempt to parse kernel fails. More...

#include <Blink.h>

Inheritance diagram for Blink::ParseException:
Blink::CompilationException Blink::Exception Blink::RefHolder

List of all members.

Public Member Functions

int lineNumber () const
 Line number of first error.
std::string parseError () const
 Error generated if line number is valid.

Protected Member Functions

 ParseException (Ref ref)

Friends

void TranslateBlinkError (ErrorCode errorCode, ErrorRef errorRef)

Detailed Description

Exception thrown when attempt to parse kernel fails.

Exception when kernel parsing fails. This usually results in the ability to identify the location and cause of the exception.


Member Function Documentation

int Blink::ParseException::lineNumber ( ) const

Line number of first error.

Line number of first parse error. -1 if not known.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables


©2017 The Foundry Visionmongers, Ltd. All Rights Reserved.