blob: 4525cce9e33b7f2750ccd3eaf2eeef444a7746f7 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008 Angelo Zerr and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Angelo Zerr <angelo.zerr@gmail.com> - initial API and implementation
*******************************************************************************/
package org.eclipse.e4.ui.css.core.impl.engine;
import org.eclipse.e4.ui.css.core.engine.CSSErrorHandler;
/**
* Basic implementation for CSS Engine error handlers which print stack trace of
* the exception throwed.
*
* @version 1.0.0
* @author <a href="mailto:angelo.zerr@gmail.com">Angelo ZERR</a>
*
*/
public class CSSErrorHandlerImpl implements CSSErrorHandler {
public static final CSSErrorHandler INSTANCE = new CSSErrorHandlerImpl();
/*
* (non-Javadoc)
* @see org.eclipse.e4.ui.css.core.engine.CSSErrorHandler#error(java.lang.Exception)
*/
public void error(Exception e) {
e.printStackTrace();
}
}