Package primitives

Class ZeroVectorException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
primitives.ZeroVectorException
All Implemented Interfaces:
java.io.Serializable

public class ZeroVectorException
extends java.lang.RuntimeException
This exception is thrown when an attempt is made to create a zero vector.
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    ZeroVectorException()
    Construct a default zero vector exception with a default message.
    ZeroVectorException​(java.lang.String message)
    Construct a zero vector exception with a custom message.
  • Method Summary

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ZeroVectorException

      public ZeroVectorException()
      Construct a default zero vector exception with a default message.
    • ZeroVectorException

      public ZeroVectorException​(java.lang.String message)
      Construct a zero vector exception with a custom message.
      Parameters:
      message - The message which describes the cause of the exception.