Complex (and confusing) error stacks are printed as a result of:
-calling visualize() is called with no ADT
-and/or set the ADT parameter for something different then: \"graph\", \"graphl\",\"stack\",\"queue\",\"tree\", \"llist\", \"AList\" or \"Dllist\""
-JSON is not formatted properly
Solution: I added a more explicit error message. I also included the error stack that contains the original and exact cause of the error. This is helpful during troubleshooting.
Complex (and confusing) error stacks are printed as a result of: -calling visualize() is called with no ADT -and/or set the ADT parameter for something different then: \"graph\", \"graphl\",\"stack\",\"queue\",\"tree\", \"llist\", \"AList\" or \"Dllist\"" -JSON is not formatted properly
Solution: I added a more explicit error message. I also included the error stack that contains the original and exact cause of the error. This is helpful during troubleshooting.