mirror of
https://github.com/cwbaker/lalr.git
synced 2026-09-27 00:43:19 +03:00
43 lines
681 B
C++
43 lines
681 B
C++
//
|
|
// ErrorPolicy.cpp
|
|
// Copyright (c) 2001 - 2012 Charles Baker. All rights reserved.
|
|
//
|
|
|
|
#include "stdafx.hpp"
|
|
#include "ErrorPolicy.hpp"
|
|
|
|
using namespace sweet::error;
|
|
|
|
/**
|
|
// Constructor.
|
|
*/
|
|
ErrorPolicy::ErrorPolicy()
|
|
{
|
|
}
|
|
|
|
/**
|
|
// Destructor.
|
|
*/
|
|
ErrorPolicy::~ErrorPolicy()
|
|
{
|
|
}
|
|
|
|
/**
|
|
// Handle an error.
|
|
//
|
|
// @param error
|
|
// The Error object that describes the error that has occured.
|
|
*/
|
|
void ErrorPolicy::error( const Error& error )
|
|
{
|
|
}
|
|
|
|
/**
|
|
// Handle a std::exception.
|
|
//
|
|
// @param exception
|
|
// The std::exception object that describes the error that has occured.
|
|
*/
|
|
void ErrorPolicy::error( const std::exception& exception )
|
|
{
|
|
}
|