/*
 * Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

/*
 * $Id: DummyException.java 62536 2011-04-15 16:35:14Z af70133 $
 */

/* Copyright (c) 2003 Oracle Corporation.  All rights reserved. */
package com.sun.ts.tests.jaxrpc.sharedwebservices.faultservice;

public class DummyException extends Exception{

    /**
     * These dummy fields exist to testMessage Java -> WSDL mapping
     * for Exceptions. JAXRPC spec says that fields map to extra elements in the
     * soap:Fault.  Basic Profile R1000 says extra fields aren't allowed
     * in soap:Faults
     */
    private String dummyField1;

    private String dummyField2;

    public DummyException(String dummyField1, String dummyField2){
        super();
        this.dummyField1 = dummyField1;
        this.dummyField2 = dummyField2;
    }

    public String getDummyField1() {
        return dummyField1;
    }

    public void setDummyField1(String dummyField1) {
        this.dummyField1 = dummyField1;
    }

    public String getDummyField2() {
        return dummyField2;
    }

    public void setDummyField2(String dummyField2) {
        this.dummyField2 = dummyField2;
    }
}
