Top Description Inners Fields Constructors Methods
org.apache.xmpbox.xml

public Class XmpParsingException

extends Exception
Class Inheritance

Exception thrown when Parsing failed
Author
a183132

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Field Summary

Modifier and TypeField and Description
private final XmpParsingException.ErrorType
private static final long

Constructor Summary

AccessConstructor and Description
public
XmpParsingException(XmpParsingException.ErrorType
the error type
error
,
String
a description of the encountered problem
message
,
Throwable
the cause of the exception
cause
)

Create an instance of XmpParsingException

public
XmpParsingException(XmpParsingException.ErrorType
the error type
error
,
String
a description of the encountered problem
message
)

Create an instance of XmpParsingException

Method Summary

Modifier and TypeMethod and Description
public XmpParsingException.ErrorType

Returns:

the error type
getErrorType
()

Returns the error type.

Field Detail

errorTypeback to summary
private final XmpParsingException.ErrorType errorType
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

serial version uid

Constructor Detail

XmpParsingExceptionback to summary
public XmpParsingException(XmpParsingException.ErrorType error, String message, Throwable cause)

Create an instance of XmpParsingException

Parameters
error:XmpParsingException.ErrorType

the error type

message:String

a description of the encountered problem

cause:Throwable

the cause of the exception

XmpParsingExceptionback to summary
public XmpParsingException(XmpParsingException.ErrorType error, String message)

Create an instance of XmpParsingException

Parameters
error:XmpParsingException.ErrorType

the error type

message:String

a description of the encountered problem

Method Detail

getErrorTypeback to summary
public XmpParsingException.ErrorType getErrorType()

Returns the error type.

Returns:XmpParsingException.ErrorType

the error type

org.apache.xmpbox.xml back to summary

public final Enum XmpParsingException.ErrorType

extends Enum<XmpParsingException.ErrorType>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final XmpParsingException.ErrorType
public static final XmpParsingException.ErrorType
public static final XmpParsingException.ErrorType
public static final XmpParsingException.ErrorType
public static final XmpParsingException.ErrorType
public static final XmpParsingException.ErrorType
public static final XmpParsingException.ErrorType
public static final XmpParsingException.ErrorType
public static final XmpParsingException.ErrorType
public static final XmpParsingException.ErrorType
public static final XmpParsingException.ErrorType
public static final XmpParsingException.ErrorType
public static final XmpParsingException.ErrorType

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static XmpParsingException.ErrorType
public static XmpParsingException.ErrorType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

Configurationback to summary
public static final XmpParsingException.ErrorType Configuration
Formatback to summary
public static final XmpParsingException.ErrorType Format
InvalidPdfaSchemaback to summary
public static final XmpParsingException.ErrorType InvalidPdfaSchema
InvalidPrefixback to summary
public static final XmpParsingException.ErrorType InvalidPrefix
InvalidTypeback to summary
public static final XmpParsingException.ErrorType InvalidType
NoRootElementback to summary
public static final XmpParsingException.ErrorType NoRootElement
NoSchemaback to summary
public static final XmpParsingException.ErrorType NoSchema
NoTypeback to summary
public static final XmpParsingException.ErrorType NoType
NoValueTypeback to summary
public static final XmpParsingException.ErrorType NoValueType
RequiredPropertyback to summary
public static final XmpParsingException.ErrorType RequiredProperty
Undefinedback to summary
public static final XmpParsingException.ErrorType Undefined
XpacketBadEndback to summary
public static final XmpParsingException.ErrorType XpacketBadEnd
XpacketBadStartback to summary
public static final XmpParsingException.ErrorType XpacketBadStart

Constructor Detail

ErrorTypeback to summary
private ErrorType()

Method Detail

valueOfback to summary
public static XmpParsingException.ErrorType valueOf(String name)
valuesback to summary
public static XmpParsingException.ErrorType[] values()