HomeSort by relevance Sort by last modified time
    Searched refs:XMPException (Results 1 - 25 of 31) sorted by null

1 2

  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
ParameterAsserts.java 14 import com.adobe.xmp.XMPException;
35 * @throws XMPException Array name is null or empty
37 public static void assertArrayName(String arrayName) throws XMPException
41 throw new XMPException("Empty array name", XMPError.BADPARAM);
49 * @throws XMPException Property name is null or empty
51 public static void assertPropName(String propName) throws XMPException
55 throw new XMPException("Empty property name", XMPError.BADPARAM);
63 * @throws XMPException Schema is null or empty
65 public static void assertSchemaNS(String schemaNS) throws XMPException
69 throw new XMPException("Empty schema namespace URI", XMPError.BADPARAM)
    [all...]
XMPMetaImpl.java 18 import com.adobe.xmp.XMPException;
89 String itemValue, PropertyOptions itemOptions) throws XMPException
100 throw new XMPException("Only array form flags allowed for arrayOptions",
123 throw new XMPException("The named property is not an array", XMPError.BADXPATH);
127 // throw new XMPException("Mismatch of existing and specified array form", BADOPTIONS);
138 throw new XMPException("Failure creating array node", XMPError.BADXPATH);
144 throw new XMPException("Explicit arrayOptions required to create new array",
157 throws XMPException
164 * @throws XMPException
167 public int countArrayItems(String schemaNS, String arrayName) throws XMPException
    [all...]
ParseRDF.java 22 import com.adobe.xmp.XMPException;
85 * @throws XMPException Occurs if the parsing fails for any reason.
87 static XMPMetaImpl parse(Node xmlRoot) throws XMPException
102 * @throws XMPException thown on parsing errors
104 static void rdf_RDF(XMPMetaImpl xmp, Node rdfRdfNode) throws XMPException
112 throw new XMPException("Invalid attributes of rdf:RDF element", BADRDF);
125 * @throws XMPException thown on parsing errors
128 throws XMPException
159 * @throws XMPException thown on parsing errors
162 boolean isTopLevel) throws XMPException
    [all...]
ISO8601Converter.java 19 import com.adobe.xmp.XMPException;
73 * @throws XMPException Is thrown when the string is non-conform.
75 public static XMPDateTime parse(String iso8601String) throws XMPException
85 * @throws XMPException Is thrown when the string is non-conform.
87 public static XMPDateTime parse(String iso8601String, XMPDateTime binValue) throws XMPException
111 throw new XMPException("Invalid date string, after year", XMPError.BADVALUE);
130 throw new XMPException("Invalid date string, after month", XMPError.BADVALUE);
144 throw new XMPException("Invalid date string, after day", XMPError.BADVALUE);
165 throw new XMPException("Invalid date string, missing 'T' after date",
174 throw new XMPException("Invalid date string, after hour", XMPError.BADVALUE)
    [all...]
XMPSerializerHelper.java 16 import com.adobe.xmp.XMPException;
36 * @throws XMPException
40 throws XMPException
62 * @throws XMPException on serializsation errors.
65 throws XMPException
93 * @throws XMPException on serializsation errors.
96 throws XMPException
XMPMetaParser.java 33 import com.adobe.xmp.XMPException;
70 * @throws XMPException Thrown if parsing or normalisation fails.
72 public static XMPMeta parse(Object input, ParseOptions options) throws XMPException
121 * @throws XMPException Thrown if the parsing fails for different reasons
124 throws XMPException
148 * @throws XMPException Thrown when the parsing fails.
151 throws XMPException
167 throw new XMPException("Error reading the XML-file",
181 * @throws XMPException Thrown when the parsing fails.
184 throws XMPException
    [all...]
XMPNodeUtils.java 19 import com.adobe.xmp.XMPException;
69 * @throws XMPException An exception is only thrown if an error occurred, not if a
74 throws XMPException
92 * @throws XMPException An exception is only thrown if an error occurred, not if a
97 throws XMPException
120 throw new XMPException("Unregistered schema namespace URI",
145 * @throws XMPException Thrown if
148 throws XMPException
154 throw new XMPException("Named children only allowed for schemas and structs",
159 throw new XMPException("Named children not allowed for arrays"
    [all...]
XMPUtilsImpl.java 18 import com.adobe.xmp.XMPException;
80 * @throws XMPException
84 String separator, String quotes, boolean allowCommas) throws XMPException
112 throw new XMPException("Named property must be non-alternate array", XMPError.BADPARAM);
131 throw new XMPException("Array items must be simple", XMPError.BADPARAM);
166 * @throws XMPException
171 throws XMPException
177 throw new XMPException("Parameter must not be null", XMPError.BADPARAM);
341 * @throws XMPException Forwards exceptions
344 PropertyOptions arrayOptions, XMPMetaImpl xmp) throws XMPException
    [all...]
XMPSchemaRegistryImpl.java 23 import com.adobe.xmp.XMPException;
61 catch (XMPException e)
76 throws XMPException
89 throw new XMPException("The prefix is a bad XML name", XMPError.BADXML);
182 * @throws XMPException Forwards processing exceptions
184 private void registerStandardNamespaces() throws XMPException
330 * @throws XMPException
334 final String actualProp, final AliasOptions aliasForm) throws XMPException
349 throw new XMPException("Alias and actual property names must be simple",
358 throw new XMPException("Alias namespace is not registered", XMPError.BADSCHEMA)
    [all...]
XMPNormalizer.java 20 import com.adobe.xmp.XMPException;
58 * @throws XMPException Collects all severe processing errors.
60 static XMPMeta process(XMPMetaImpl xmp, ParseOptions options) throws XMPException
86 * @throws XMPException Thrown if tweaking fails.
88 private static void tweakOldXMP(XMPNode tree) throws XMPException
113 throw new XMPException("Failure creating xmpMM:InstanceID",
125 * @throws XMPException Thrown if the normalisation fails.
127 private static void touchUpDataModel(XMPMetaImpl xmp) throws XMPException
184 * @throws XMPException Thrown if normalization fails
186 private static void normalizeDCArrays(XMPNode dcSchema) throws XMPException
    [all...]
XMPSerializerRDF.java 22 import com.adobe.xmp.XMPException;
93 * @throws XMPException If case of wrong options or any other serialisaton error.
96 SerializeOptions options) throws XMPException
127 throw new XMPException("Error writing to the OutputStream", XMPError.UNKNOWN);
135 * @throws XMPException thrown if packet size is to small to fit the padding
138 private void addPadding(int tailLength) throws XMPException, IOException
146 throw new XMPException("Can't fit into specified packet size",
177 * @throws XMPException Thrown if options are conflicting
179 protected void checkOptionsConsistence() throws XMPException
190 throw new XMPException("Inconsistent options for exact size serialize"
    [all...]
XMPNode.java 21 import com.adobe.xmp.XMPException;
128 * @throws XMPException
130 public void addChild(XMPNode node) throws XMPException
145 * @throws XMPException
147 public void addChild(int index, XMPNode node) throws XMPException
260 * @throws XMPException
262 public void addQualifier(XMPNode qualNode) throws XMPException
429 catch (XMPException e)
464 catch (XMPException e)
895 * @throws XMPException Thrown if a node with the same name is existing
    [all...]
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
XMPException.java 17 public class XMPException extends Exception
28 public XMPException(String message, int errorCode)
41 public XMPException(String message, int errorCode, Throwable t)
XMPMeta.java 59 * @throws XMPException Wraps all errors and exceptions that may occur.
61 XMPProperty getProperty(String schemaNS, String propName) throws XMPException;
77 * @throws XMPException Wraps all errors and exceptions that may occur.
79 XMPProperty getArrayItem(String schemaNS, String arrayName, int itemIndex) throws XMPException;
90 * @throws XMPException Wraps all errors and exceptions that may occur.
92 int countArrayItems(String schemaNS, String arrayName) throws XMPException;
116 * @throws XMPException Wraps all errors and exceptions that may occur.
122 String fieldName) throws XMPException;
154 * @throws XMPException Wraps all errors and exceptions that may occur.
160 String qualName) throws XMPException;
    [all...]
XMPPathFactory.java 81 * @throws XMPException Throws exeption if index zero is used.
83 public static String composeArrayItemPath(String arrayName, int itemIndex) throws XMPException
95 throw new XMPException("Array index must be larger than zero", XMPError.BADINDEX);
112 * @throws XMPException Thrown if the path to create is not valid.
115 String fieldName) throws XMPException
123 throw new XMPException("The field name must be simple", XMPError.BADXPATH);
140 * @throws XMPException Thrown if the path to create is not valid.
144 String qualName) throws XMPException
152 throw new XMPException("The qualifier name must be simple", XMPError.BADXPATH);
219 * @throws XMPException Thrown if the path to create is not valid
    [all...]
XMPUtils.java 55 * @throws XMPException Forwards the Exceptions from the metadata processing
58 String separator, String quotes, boolean allowCommas) throws XMPException
81 * @throws XMPException Forwards the Exceptions from the metadata processing
85 throws XMPException
136 * @throws XMPException Forwards the Exceptions from the metadata processing
139 boolean doAllProperties, boolean includeAliases) throws XMPException
152 * @throws XMPException Forwards the Exceptions from the metadata processing
155 boolean replaceOldValues) throws XMPException
236 * @throws XMPException Forwards the Exceptions from the metadata processing
239 boolean replaceOldValues, boolean deleteEmptyValues) throws XMPException
    [all...]
XMPMetaFactory.java 68 * @throws XMPException If the file is not well-formed XML or if the parsing fails.
70 public static XMPMeta parse(InputStream in) throws XMPException
95 * @throws XMPException If the file is not well-formed XML or if the parsing fails.
98 throws XMPException
110 * @throws XMPException If the file is not well-formed XML or if the parsing fails.
112 public static XMPMeta parseFromString(String packet) throws XMPException
125 * @throws XMPException If the file is not well-formed XML or if the parsing fails.
128 throws XMPException
140 * @throws XMPException If the file is not well-formed XML or if the parsing fails.
142 public static XMPMeta parseFromBuffer(byte[] buffer) throws XMPException
    [all...]
XMPSchemaRegistry.java 67 * @throws XMPException If the parameters are not accordingly set
69 String registerNamespace(String namespaceURI, String suggestedPrefix) throws XMPException;
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/options/
Options.java 16 import com.adobe.xmp.XMPException;
45 * @throws XMPException If the options are not correct
47 public Options(int options) throws XMPException
125 * @throws XMPException
127 public void setOptions(int options) throws XMPException
218 * @throws XMPException Thrown if the options are not consistent.
220 protected void assertConsistency(int options) throws XMPException
232 * @throws XMPException Thrown if the options are invalid.
234 private void assertOptionsValid(int options) throws XMPException
243 throw new XMPException("The option bit(s) 0x" + Integer.toHexString(invalidOptions
    [all...]
AliasOptions.java 12 import com.adobe.xmp.XMPException;
47 * @throws XMPException If options are not consistant
49 public AliasOptions(int options) throws XMPException
147 * @throws XMPException If the options are not consistant.
149 public PropertyOptions toPropertyOptions() throws XMPException
PropertyOptions.java 13 import com.adobe.xmp.XMPException;
65 * @throws XMPException If the options are not valid
67 public PropertyOptions(int options) throws XMPException
345 * @throws XMPException If illegal options are provided
347 public void mergeWith(PropertyOptions options) throws XMPException
414 * @throws XMPException Thrown if the options are not consistent.
416 public void assertConsistency(int options) throws XMPException
420 throw new XMPException("IsStruct and IsArray options are mutually exclusive",
425 throw new XMPException("Structs and arrays can't have \"value\" options",
SerializeOptions.java 12 import com.adobe.xmp.XMPException;
95 * @throws XMPException Thrown if options are not consistant.
97 public SerializeOptions(int options) throws XMPException
397 catch (XMPException e)
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/xpath/
XMPPathParser.java 13 import com.adobe.xmp.XMPException;
80 * @throws XMPException
84 public static XMPPath expandXPath(String schemaNS, String path) throws XMPException
88 throw new XMPException("Parameter must not be null", XMPError.BADPARAM);
129 throw new XMPException("Only xml:lang allowed with '@'",
148 throw new XMPException("Only xml:lang allowed with '@'",
170 * @throws XMPException
172 private static void skipPathDelimiter(String path, PathPosition pos) throws XMPException
183 throw new XMPException("Empty XMPPath segment", XMPError.BADXPATH);
194 throw new XMPException("Missing '[' after '*'", XMPError.BADXPATH)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
XmpPresets.java 23 import com.adobe.xmp.XMPException;
55 } catch (XMPException e) {
81 } catch (XMPException e) {
128 } catch (XMPException e) {
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterTinyPlanet.java 23 import com.adobe.xmp.XMPException;
147 } catch (XMPException ex) {
153 private static int getInt(XMPMeta xmp, String key) throws XMPException {

Completed in 373 milliseconds

1 2