Package de.ailis.jollada.exceptions

Examples of de.ailis.jollada.exceptions.ParserException


                    // Ignored
            }
        }
        catch (final URISyntaxException e)
        {
            throw new ParserException(e.toString(), e);
        }
    }
View Full Code Here


        {
            this.imageSourceBuilder.setRef(new URI(text));
        }
        catch (final URISyntaxException e)
        {
            throw new ParserException(text + " is not a valid URI: " + e, e);
        }
        this.stringBuilder = null;
        leaveElement();
    }
View Full Code Here

            {
                this.imageSourceBuilder.setRef(new URI(text));
            }
            catch (final URISyntaxException e)
            {
                throw new ParserException(text + " is not a valid URI: " + e, e);
            }
            this.stringBuilder = null;
        }
        this.image.setSource(this.imageSourceBuilder.build());
        this.imageSourceBuilder = null;
View Full Code Here

        {
            url = new URI(urlString);
        }
        catch (final URISyntaxException e)
        {
            throw new ParserException(urlString + " is not a valid URI: " + e,
                e);
        }
        final ImageInstance imageInstance = new ImageInstance(url);
        imageInstance.setName(attributes.getValue("name"));
        imageInstance.setSid(attributes.getValue("sid"));
View Full Code Here

            case TRANSPARENT:
                this.shader.setTransparent(this.colorOrTexture);
                break;

            default:
                throw new ParserException(
                        "Unknown parser mode for colorOrTexture: " + this.mode);

        }
        this.colorOrTexture = null;
        leaveElement();
View Full Code Here

            case INDEX_OF_REFRACTION:
                this.shader.setIndexOfRefraction(this.floatAttrib);
                break;

            default:
                throw new ParserException(
                        "Unknown parser mode for a shading float: " + this.mode);
        }
        leaveElement();
    }
View Full Code Here

        {
            source = new URI(sourceStr);
        }
        catch (final URISyntaxException e)
        {
            throw new ParserException(sourceStr + " is not a valid URI: " + e,
                e);
        }
        final int count = Integer.valueOf(attributes.getValue("count"));
        this.accessor = new Accessor(source, count);
        final String offset = attributes.getValue("offset");
View Full Code Here

        {
            source = new URI(text);
        }
        catch (final URISyntaxException e)
        {
            throw new ParserException(text + " is not a valid URI: " + e, e);
        }
        final UnsharedInput input = new UnsharedInput(semantic, source);
        this.vertices.getInputs().add(input);
        enterElement(ParserMode.VERTICES_INPUT);
    }
View Full Code Here

        {
            source = new URI(sourceString);
        }
        catch (final URISyntaxException e)
        {
            throw new ParserException(sourceString + " is not a valid URI: "
                    + e, e);
        }
        final SharedInput input = new SharedInput(semantic, source, offset);
        input.setSet(set);
        this.primitivesBuilder.getInputs().add(input);
View Full Code Here

        {
            source = new URI(text);
        }
        catch (final URISyntaxException e)
        {
            throw new ParserException(text + " is not a valid URI: " + e, e);
        }
        final UnsharedInput input = new UnsharedInput(semantic, source);
        this.sampler.getInputs().add(input);
        enterElement(ParserMode.SAMPLER_INPUT);
    }
View Full Code Here

TOP

Related Classes of de.ailis.jollada.exceptions.ParserException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.