Class ResourceTypeMismatchException

  • All Implemented Interfaces:
    WMCommonException, java.io.Serializable

    public class ResourceTypeMismatchException
    extends ResourceException
    Exception thrown when a Resource is requested as a particular type but an existing resource of another type already exists.
    See Also:
    Serialized Form
    • Constructor Detail

      • ResourceTypeMismatchException

        public ResourceTypeMismatchException​(ResourcePath path,
                                             boolean accessingAsFolder)
        Create a new ResourceTypeMismatchException instance.
        Parameters:
        path - the path begin accessed
        actual - the actual type
        expected - the expected type