matlabcontrol.extensions
Class MatlabNumericArray.ArrayDimensionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by matlabcontrol.extensions.MatlabNumericArray.ArrayDimensionException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
MatlabNumericArray

public static class MatlabNumericArray.ArrayDimensionException
extends java.lang.RuntimeException

Represents attempting to retrieve or manipulate a MATLAB array as the wrong dimension.

See Also:
Serialized Form

Method Summary
 int getActualNumberOfDimensions()
          The actual number of dimensions the array has.
 int getUsedNumberOfDimensions()
          The number of dimensions that were used when interacting with the array.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getActualNumberOfDimensions

public int getActualNumberOfDimensions()
The actual number of dimensions the array has.

Returns:

getUsedNumberOfDimensions

public int getUsedNumberOfDimensions()
The number of dimensions that were used when interacting with the array.

Returns: