Documentation of 'edu.uci.ics.jung.io.graphml.ExceptionConverter' Java class
ExceptionConverter
edu.uci.ics.jung.io.graphml

Class ExceptionConverter



  • public class ExceptionConverter
    extends java.lang.Object
    Converts an exception to the a GraphIOException. Runtime exceptions are checked for the cause. If the cause is an XMLStreamException, it is converted to a GraphIOException. Otherwise, the RuntimeException is rethrown.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void convert(java.lang.Exception e)
      Converts an exception to the a GraphIOException.
      • Methods inherited from class java.lang.Object

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

      • ExceptionConverter

        public ExceptionConverter()
    • Method Detail

      • convert

        public static void convert(java.lang.Exception e)
                            throws GraphIOException
        Converts an exception to the a GraphIOException. Runtime exceptions are checked for the cause. If the cause is an XMLStreamException, it is converted to a GraphReaderException. Otherwise, the RuntimeException is rethrown.
        Parameters:
        e - the exception to be converted
        Throws:
        GraphIOException - the converted exception

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.