Package com.atlassian.adf.model.ex.node
Class MediaException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.atlassian.adf.model.ex.AdfException
-
- com.atlassian.adf.model.ex.node.NodeException
-
- com.atlassian.adf.model.ex.node.MediaException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MediaException.MediaSizeException,MediaException.TooManyContentItems
public abstract class MediaException extends NodeException
Reports a problem with amedianode or one of the containers that can hold one:mediaGroup,mediaSingle, ormediaInline.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMediaException.HeightMustBePositiveReports an attempt to use an invalidheightvalue on amedianode or one of its containers.static classMediaException.MediaSizeExceptionReports an attempt to use an invalidwidthorheightvalue on amedianode or one of its containers.static classMediaException.TooManyContentItemsReports that too many content items were provided for amediaSinglenode.static classMediaException.WidthMustBePositiveReports an attempt to use an invalidwidthvalue on amedianode or one of its containers, except thatmediaSingleusesMediaException.WidthMustBeValidPercentageinstead.static classMediaException.WidthMustBeValidPercentageReports an attempt to use an invalidwidthvalue on a node that expects apercentagewidth value.static classMediaException.WidthMustBeValidPixelCountReports an attempt to use an invalidwidthvalue on a node that expects apixelcount.-
Nested classes/interfaces inherited from class com.atlassian.adf.model.ex.node.NodeException
NodeException.TypeMismatch
-
Nested classes/interfaces inherited from class com.atlassian.adf.model.ex.AdfException
AdfException.DuplicateProperty, AdfException.EmptyProperty, AdfException.InvalidURI, AdfException.MissingProperty, AdfException.MissingType, AdfException.PropertyException, AdfException.UnexpectedRuntimeException, AdfException.UnsupportedEnumValue, AdfException.ValueTypeMismatch
-
-
Field Summary
-
Fields inherited from class com.atlassian.adf.model.ex.AdfException
MARK_PREFIX, MARKS_PREFIX, NODE_PREFIX
-
-
Method Summary
-
Methods inherited from class com.atlassian.adf.model.ex.AdfException
backtrace, frame, getPath, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-