Class InvalidRepresentationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.atlassian.confluence.legacyapi.service.content.InvalidRepresentationException
-
- All Implemented Interfaces:
Serializable
@Deprecated public class InvalidRepresentationException extends RuntimeException
Deprecated.since 7.0.1 , useInvalidRepresentationException
Thrown when an operation is attempted that is not valid for the kind of ContentBody you are providing. For example, you can update a piece of content by providing STORAGE or EDITOR format, but not VIEW format.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidRepresentationException(ContentRepresentation unacceptableRepresentation, ContentRepresentation[] permittedRepresentations)
Deprecated.InvalidRepresentationException(ContentRepresentation representation, Iterable<ContentRepresentation> contentRepresentations)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Iterable<ContentRepresentation>
getPermittedRepresentations()
Deprecated.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidRepresentationException
public InvalidRepresentationException(ContentRepresentation unacceptableRepresentation, ContentRepresentation[] permittedRepresentations)
Deprecated.
-
InvalidRepresentationException
public InvalidRepresentationException(ContentRepresentation representation, Iterable<ContentRepresentation> contentRepresentations)
Deprecated.
-
-
Method Detail
-
getPermittedRepresentations
public Iterable<ContentRepresentation> getPermittedRepresentations()
Deprecated.
-
-