com.ibm.broker.rest

Class ApiException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • com.ibm.broker.rest.ApiException
  • All Implemented Interfaces:
    java.io.Serializable


    public abstract class ApiException
    extends java.lang.Exception
    This exception should be thrown by all implementations of the Api interface for all errors encountered when loading API descriptions from files or URLs.
    Since:
    IBM Integration Bus v10
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      class  ApiException.UnresolvedPath
      A class that represents a file that could not be resolved whilst loading an API.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List<ApiException.UnresolvedPath> getUnresolvedPaths()
      Get the list of files that could not be resolved whilst loading an API.
      • Methods inherited from class java.lang.Throwable

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

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getUnresolvedPaths

        public java.util.List<ApiException.UnresolvedPath> getUnresolvedPaths()
        Get the list of files that could not be resolved whilst loading an API.
        Returns:
        the list of files that could not be resolved.