
javax.xml.bind.MarshalException Maven / Gradle / Ivy
The newest version!
/*
* Copyright 2003, 2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package javax.xml.bind;
/** The MarshalException
is a subclass of the
* {@link javax.xml.bind.JAXBException} being thrown if the
* marshalling of a JAXB object failed.
*
* @author JSR-31
* @since JAXB1.0
*/
public class MarshalException extends JAXBException {
/** Creates a new MarshalException
with the specified
* detail message.
* @param pMessage The detail message.
*/
public MarshalException(String pMessage) {
super(pMessage);
}
/** Creates a new MarshalException
with the specified
* detail message and vendor specific error code.
* @param pMessage The detail message.
* @param pErrorCode The error code.
*/
public MarshalException(String pMessage, String pErrorCode) {
super(pMessage, pErrorCode);
}
/** Creates a new MarshalException
with the specified
* linked exception.
* @param pLinkedException The linked exception.
*/
public MarshalException(Throwable pLinkedException) {
super(pLinkedException);
}
/** Creates a new MarshalException
with the specified
* detail message and linked exception.
* @param pMessage The detail message.
* @param pLinkedException The linked exception.
*/
public MarshalException(String pMessage, Throwable pLinkedException) {
super(pMessage, pLinkedException);
}
/** Creates a new MarshalException
with the specified
* detail message, error code, and linked exception.
* @param pMessage The detail message.
* @param pErrorCode The vendor specific error code.
* @param pLinkedException The linked exception.
*/
public MarshalException(String pMessage, String pErrorCode,
Throwable pLinkedException) {
super(pMessage, pErrorCode, pLinkedException);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy