Class ResolverException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ResolverException
    extends java.lang.Exception
    Exception thrown by Tycho's p2 resolution implementations. It is a checked exception to encourage that the error is logged with context information about the action requiring the resolution.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ResolverException​(java.lang.String details, java.lang.String selectionContext, java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDetails()  
      java.lang.String getSelectionContext()  
      • 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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • details

        private final java.lang.String details
      • selectionContext

        private final java.lang.String selectionContext
    • Constructor Detail

      • ResolverException

        ResolverException​(java.lang.String details,
                          java.lang.String selectionContext,
                          java.lang.Throwable cause)
    • Method Detail

      • getDetails

        public java.lang.String getDetails()
      • getSelectionContext

        public java.lang.String getSelectionContext()