public class InvalidRepresentationException extends RuntimeException
Constructor and Description |
---|
InvalidRepresentationException(ContentRepresentation unacceptableRepresentation,
ContentRepresentation[] permittedRepresentations) |
InvalidRepresentationException(ContentRepresentation representation,
Iterable<ContentRepresentation> contentRepresentations) |
Modifier and Type | Method and Description |
---|---|
Iterable<ContentRepresentation> |
getPermittedRepresentations() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidRepresentationException(ContentRepresentation unacceptableRepresentation, ContentRepresentation[] permittedRepresentations)
public InvalidRepresentationException(ContentRepresentation representation, Iterable<ContentRepresentation> contentRepresentations)
public Iterable<ContentRepresentation> getPermittedRepresentations()
Copyright © 2003–2020 Atlassian. All rights reserved.