Class OctaveClassCastException

    • Constructor Detail

      • OctaveClassCastException

        public OctaveClassCastException​(ClassCastException cause,
                                        OctaveObject octaveObject,
                                        Class<? extends OctaveObject> castClass)
        Parameters:
        cause - ClassCastException that we are rethrowing
        octaveObject - OctaveObject that couldn't be casted
        castClass - The class octaveObject couldn't be casted to
    • Method Detail

      • getOctaveObject

        public OctaveObject getOctaveObject()
        Returns:
        the OctaveObject that couldn't be casted
      • getCastClass

        public Class<? extends OctaveObject> getCastClass()
        Returns:
        the class octaveObject couldn't be casted to