Class Smalls.MyExceptionFunction

  • Enclosing class:
    Smalls

    public static class Smalls.MyExceptionFunction
    extends java.lang.Object
    User-defined function that declares exceptions.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int eval​(int x)  
      • Methods inherited from class java.lang.Object

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

      • MyExceptionFunction

        public MyExceptionFunction()
    • Method Detail

      • eval

        public static int eval​(int x)
                        throws java.lang.IllegalArgumentException,
                               java.io.IOException
        Throws:
        java.lang.IllegalArgumentException
        java.io.IOException