All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jscience.mathematics.vector.DimensionException Maven / Gradle / Ivy

The newest version!
/*
 * JScience - Java(TM) Tools and Libraries for the Advancement of Sciences.
 * Copyright (C) 2006 - JScience (http://jscience.org/)
 * All rights reserved.
 * 
 * Permission to use, copy, modify, and distribute this software is
 * freely granted, provided that this notice is preserved.
 */
package org.jscience.mathematics.vector;

/**
 * Signals that an operation is performed upon vectors or matrices whose
 * dimensions disagree.
 * 
 * @author Jean-Marie Dautelle
 * @version 3.0, February 13, 2006
 */
public class DimensionException extends RuntimeException {

    /**
     * Constructs a dimension exception with no detail message.
     */
    public DimensionException() {
        super();
    }

    /**
     * Constructs a dimension exception with the specified message.
     * 
     * @param message the error message.
     */
    public DimensionException(String message) {
        super(message);
    }

    private static final long serialVersionUID = 1L;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy