| /******************************************************************************* |
| * Copyright (c) 2012 Laurent CARON |
| * 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: |
| * Laurent CARON (laurent.caron at gmail dot com) - Initial API and implementation |
| *******************************************************************************/ |
| package org.mihalis.opal.calculator; |
| |
| /** |
| * The Class DivideByZeroException. |
| */ |
| class DivideByZeroException extends Exception { |
| |
| /** The Constant serialVersionUID. */ |
| private static final long serialVersionUID = 1764265506499117961L; |
| |
| /** |
| * Constructor. |
| */ |
| public DivideByZeroException() { |
| super(); |
| } |
| |
| /** |
| * Constructor. |
| * |
| * @param errorMessage error message |
| */ |
| public DivideByZeroException(final String errorMessage) { |
| super(errorMessage); |
| } |
| } |