public class

InvalidPortalItemIdException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.esri.core.portal.InvalidPortalItemIdException

Class Overview

This exception will be thrown when an attempt is made to create an instance of a specific Portal item using the item ID of a different type. For example, if newInstance(PortalItem) is called with a webmap layer portal item, this exception will be thrown.

Summary

Public Constructors
InvalidPortalItemIdException(String message)
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public InvalidPortalItemIdException (String message)

Parameters
message String