Class ScpiGenericException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ScpiGenericException
    extends java.lang.Exception
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ScpiGenericException()
      No argument constructor
      ScpiGenericException​(java.lang.String code, java.lang.String reason)
      Constructor with errorCode and errorDescription
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCode()  
      java.lang.String getReason()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

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

      • ScpiGenericException

        public ScpiGenericException​(java.lang.String code,
                                    java.lang.String reason)
        Constructor with errorCode and errorDescription
      • ScpiGenericException

        public ScpiGenericException()
        No argument constructor
    • Method Detail

      • getCode

        public java.lang.String getCode()
        Returns:
        the code
      • getReason

        public java.lang.String getReason()
        Returns:
        the reason
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable