17#ifndef _DECAF_LANG_EXCEPTION_EXCEPTION_H_
18#define _DECAF_LANG_EXCEPTION_EXCEPTION_H_
21#pragma warning( disable: 4251 )
83 Exception(
const char* file,
const int lineNumber,
const char* msg, ...);
101 Exception(
const char* file,
const int lineNumber,
const std::exception* cause,
const char* msg, ...);
132 virtual
void initCause(
const std::exception* cause);
149 virtual
void setMessage(
const char* msg, ...);
159 virtual
void setMark(
const char* file,
const int lineNumber);
182 virtual
void printStackTrace()
const;
190 virtual
void printStackTrace(
std::ostream& stream)
const;
209 virtual
void setStackTrace(
const std::vector<
std::pair<
std::
string,
int> >& trace);
211 virtual
void buildMessage(
const char* format, va_list& vargs);
Definition: Exception.h:38
Exception(const std::exception *cause)
Constructor.
Exception()
Default Constructor.
Exception(const char *file, const int lineNumber, const char *msg,...)
Constructor - Initializes the file name and line number where this message occurred.
ExceptionData * data
Definition: Exception.h:41
Exception(const Exception &ex)
Copy Constructor.
Exception(const char *file, const int lineNumber, const std::exception *cause, const char *msg,...)
Constructor - Initializes the file name and line number where this message occurred.
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