Class MismatchedMatrixSizeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.opengis.geometry.MismatchedDimensionException
org.apache.sis.referencing.operation.matrix.MismatchedMatrixSizeException
All Implemented Interfaces:
Serializable

public class MismatchedMatrixSizeException extends org.opengis.geometry.MismatchedDimensionException
Thrown when two matrices cannot be added or multiplied because the sizes do not match.
Note: This exception extends MismatchedDimensionException because the matrices in this package are used in Coordinate Operation Steps, in which case a mismatched matrix size means that the operation involves two Coordinate Reference Systems of incompatible dimensions.
Since:
0.4
Version:
0.4
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      For cross-version compatibility.
      See Also:
  • Constructor Details

    • MismatchedMatrixSizeException

      public MismatchedMatrixSizeException()
      Constructs a new exception with no message.
    • MismatchedMatrixSizeException

      public MismatchedMatrixSizeException(String message)
      Constructs a new exception with the specified detail message.
      Parameters:
      message - the detail message, or null if none.
    • MismatchedMatrixSizeException

      public MismatchedMatrixSizeException(String message, Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      Parameters:
      message - the detail message, or null if none.
      cause - the cause, or null if none.