18#ifndef _DECAF_LANG_THROWABLE_H_
19#define _DECAF_LANG_THROWABLE_H_
75 virtual
void initCause(
const std::exception* cause ) = 0;
82 virtual
void setMark(
const char* file,
const int lineNumber ) = 0;
97 virtual
std::vector<
std::pair<
std::
string,
int> > getStackTrace()
const = 0;
102 virtual
void printStackTrace()
const = 0;
108 virtual
void printStackTrace(
std::ostream& stream )
const = 0;
114 virtual
std::
string getStackTraceString()
const = 0;
This class represents an error that has occurred.
Definition: Throwable.h:44
#define DECAF_API
Definition: Config.h:29
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: AprPool.h:25
Definition: ArrayPointer.h:432
#define const
Definition: zconf.h:198