Class ObjNotFoundException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ObjNotFoundException
    extends com.gooddata.sdk.common.GoodDataException
    Metadata object of the given URI doesn't exist
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjNotFoundException​(com.gooddata.sdk.model.md.Obj obj)
      Construct a new instance of ObjNotFoundException.
      ObjNotFoundException​(java.lang.Class<T> cls)
      Construct a new instance of ObjNotFoundException.
      ObjNotFoundException​(java.lang.String uri)
      Construct a new instance of ObjNotFoundException.
      ObjNotFoundException​(java.lang.String uri, java.lang.Class<T> cls, java.lang.Exception e)
      Construct a new instance of ObjNotFoundException.
    • Method Summary

      • 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
    • Constructor Detail

      • ObjNotFoundException

        public ObjNotFoundException​(java.lang.String uri,
                                    java.lang.Class<T> cls,
                                    java.lang.Exception e)
        Construct a new instance of ObjNotFoundException.
        Type Parameters:
        T - the type of results you're searching for
        Parameters:
        uri - the URI of metadata object you're searching for
        cls - class of metadata object you're searching for
        e - caused of this exception
      • ObjNotFoundException

        public ObjNotFoundException​(com.gooddata.sdk.model.md.Obj obj)
        Construct a new instance of ObjNotFoundException.
        Parameters:
        obj - metadata object you're working with
      • ObjNotFoundException

        public ObjNotFoundException​(java.lang.String uri)
        Construct a new instance of ObjNotFoundException.
        Parameters:
        uri - the URI of metadata object you're searching for
      • ObjNotFoundException

        public ObjNotFoundException​(java.lang.Class<T> cls)
        Construct a new instance of ObjNotFoundException.
        Type Parameters:
        T - the type of results you're searching for
        Parameters:
        cls - class of metadata object you're searching for