Class ValueRuntimeException

All Implemented Interfaces:
Serializable

public class ValueRuntimeException extends RuntimeException
Exception that is thrown for bad indices, or non-rectangular arrays, incompatible arrays or matrices, or empty arrays

Copyright (c) 2015-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.

Author:
Alexander Verbraeck, Peter Knoppers
See Also:
  • Constructor Details

    • ValueRuntimeException

      public ValueRuntimeException()
      Construct a new ValueException using default values for all fields.
    • ValueRuntimeException

      public ValueRuntimeException(String message)
      Construct a new ValueException with specified description.
      Parameters:
      message - String; description of the problem
    • ValueRuntimeException

      public ValueRuntimeException(Throwable cause)
      Construct a new ValueException with specified cause.
      Parameters:
      cause - Throwable; the cause of this ValueException
    • ValueRuntimeException

      public ValueRuntimeException(String message, Throwable cause)
      Construct a new ValueException with specified description and cause.
      Parameters:
      message - String; description of the problem
      cause - Throwable; the cause of this ValueException
    • ValueRuntimeException

      public ValueRuntimeException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      Construct a new ValueException specifying all fields.
      Parameters:
      message - String; description of the problem
      cause - Throwable; the cause of this ValueException
      enableSuppression - boolean; whether or not suppression is enabled or disabled
      writableStackTrace - boolean; whether or not the stack trace should be writable