Class CannotUnmarshalEmbeddedResourceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.atlassian.confluence.content.render.xhtml.transformers.TransformationException
-
- com.atlassian.confluence.content.render.xhtml.editor.embed.CannotUnmarshalEmbeddedResourceException
-
- All Implemented Interfaces:
Serializable
public class CannotUnmarshalEmbeddedResourceException extends TransformationException
An exception thrown when an embedded resource read from the Editor cannot be unmarshalled.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CannotUnmarshalEmbeddedResourceException(ResourceIdentifier resourceIdentifier, String title, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceIdentifier
getResourceIdentifier()
String
getTitle()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CannotUnmarshalEmbeddedResourceException
public CannotUnmarshalEmbeddedResourceException(ResourceIdentifier resourceIdentifier, String title, Throwable cause)
-
-
Method Detail
-
getResourceIdentifier
public ResourceIdentifier getResourceIdentifier()
- Returns:
- the Resource Identifier that was being processed when the error was thrown. It may be null.
-
getTitle
public String getTitle()
- Returns:
- the title value for any embedded image. It may be null.
-
-