Module JNISpice
Package spice.basic

Class SpiceErrorException

  • All Implemented Interfaces:
    java.io.Serializable

    public class SpiceErrorException
    extends SpiceException
    The SpiceErrorException class is used to signal errors encountered within the JNISpice system.

    Version 1.0.0 11-NOV-2009 (NJB)

    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String caller  
      private java.lang.String longMessage  
      private java.lang.String shortMessage  
      private java.lang.String traceback  
      private java.lang.String version  
      private static java.lang.String VERSION  
    • Constructor Summary

      Constructors 
      Constructor Description
      SpiceErrorException​(java.lang.String message)
      Create a SpiceErrorException using an already-formed compound message string.
    • Method Summary

      Modifier and Type Method Description
      static SpiceErrorException create​(java.lang.String caller, java.lang.String shortMsg, java.lang.String longMsg)
      Create a SpiceErrorException using a caller name, short message, and long 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
      • version

        private java.lang.String version
      • caller

        private java.lang.String caller
      • longMessage

        private java.lang.String longMessage
      • shortMessage

        private java.lang.String shortMessage
      • traceback

        private java.lang.String traceback
    • Constructor Detail

      • SpiceErrorException

        public SpiceErrorException​(java.lang.String message)
        Create a SpiceErrorException using an already-formed compound message string.
        Parameters:
        message - String
    • Method Detail

      • create

        public static SpiceErrorException create​(java.lang.String caller,
                                                 java.lang.String shortMsg,
                                                 java.lang.String longMsg)
        Create a SpiceErrorException using a caller name, short message, and long message.
        Parameters:
        caller - String
        longMsg - String
        shortMsg - String
        Returns:
        SpiceErrorException