kamg@2515: /* kamg@2515: * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. kamg@2515: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. kamg@2515: * kamg@2515: * This code is free software; you can redistribute it and/or modify it kamg@2515: * under the terms of the GNU General Public License version 2 only, as kamg@2515: * published by the Free Software Foundation. kamg@2515: * kamg@2515: * This code is distributed in the hope that it will be useful, but WITHOUT kamg@2515: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or kamg@2515: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License kamg@2515: * version 2 for more details (a copy is included in the LICENSE file that kamg@2515: * accompanied this code). kamg@2515: * kamg@2515: * You should have received a copy of the GNU General Public License version kamg@2515: * 2 along with this work; if not, write to the Free Software Foundation, kamg@2515: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. kamg@2515: * kamg@2515: * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA kamg@2515: * or visit www.oracle.com if you need additional information or have any kamg@2515: * questions. kamg@2515: * kamg@2515: */ kamg@2515: kamg@2515: #ifndef SHARE_VM_UTILITIES_ERRORREPORTER_HPP kamg@2515: #define SHARE_VM_UTILITIES_ERRORREPORTER_HPP kamg@2515: kamg@2515: #include "utilities/globalDefinitions.hpp" coleenp@2531: #include "memory/allocation.hpp" kamg@2515: kamg@2515: class ErrorReporter : public StackObj { kamg@2515: kamg@2515: public: kamg@2515: ErrorReporter(); kamg@2515: ~ErrorReporter(){}; kamg@2515: kamg@2515: void call(FILE* fd, char *buffer, int length); kamg@2515: }; kamg@2515: kamg@2515: #endif // ndef SHARE_VM_UTILITIES_ERRORREPORTER_HPP