Module JNISpice
Package spice.basic

Class KernelVarNotFoundException

  • All Implemented Interfaces:
    java.io.Serializable

    public class KernelVarNotFoundException
    extends SpiceException
    The KernelVarNotFoundException class is used to signal a "not found" condition when an attempt is made to access a CSPICE kernel pool variable. This exception is meant to be used for non-error cases which normally would be indicated in CSPICE by setting a "found flag" to SPICEFALSE.

    Version 1.0.0 03-DEC-2009 (NJB)

    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String SHORT_MSG  
      private static java.lang.String VERSION  
    • Constructor Summary

      Constructors 
      Constructor Description
      KernelVarNotFoundException​(java.lang.String message)
      Construct a KernelVarNotFoundException, supplying an accompanying message string.
    • Method Summary

      Modifier and Type Method Description
      static KernelVarNotFoundException create​(java.lang.String caller, java.lang.String longMsg)
      Create an exception having a compound message.
      • 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
    • Field Detail

      • VERSION

        private static java.lang.String VERSION
    • Constructor Detail

      • KernelVarNotFoundException

        public KernelVarNotFoundException​(java.lang.String message)
        Construct a KernelVarNotFoundException, supplying an accompanying message string.
        Parameters:
        message - String
    • Method Detail

      • create

        public static KernelVarNotFoundException create​(java.lang.String caller,
                                                        java.lang.String longMsg)
        Create an exception having a compound message.
        Parameters:
        caller - String
        longMsg - String
        Returns:
        KernelVarNotFoundException