public final class FaultUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static ch.iec.tc57._2011.schema.message.FaultMessage |
getFaultMessageFromException(java.lang.String msg,
java.lang.String code)
Returns a FaultMessage using the given message and code.
|
static _504.iec62325.wss._1._0.MsgFaultMsg |
getMsgFaultFromException(GenericCodedException exception)
Creates a
MsgFaultMsg using the information provider by the exception. |
static _504.iec62325.wss._1._0.MsgFaultMsg |
getMsgFaultFromMessage(java.lang.String msg)
Creates a simple
MsgFaultMsg with the given error message. |
static _504.iec62325.wss._1._0.MsgFaultMsg |
getMsgFaultFromMetaData(MessageMetaData mmd)
Returns a message fault using the information provided by the given
MessageMetaData. |
public static ch.iec.tc57._2011.schema.message.FaultMessage getFaultMessageFromException(java.lang.String msg,
java.lang.String code)
msg - Fault message.code - Fault code, can be null in this case code doesn't appear in the fault.public static _504.iec62325.wss._1._0.MsgFaultMsg getMsgFaultFromException(GenericCodedException exception)
MsgFaultMsg using the information provider by the exception.exception - Exception with the information needed by the fault message.MsgFaultMsg with the exception information.public static _504.iec62325.wss._1._0.MsgFaultMsg getMsgFaultFromMessage(java.lang.String msg)
MsgFaultMsg with the given error message.msg - Error messagepublic static _504.iec62325.wss._1._0.MsgFaultMsg getMsgFaultFromMetaData(MessageMetaData mmd)
MessageMetaData.mmd - Message MetadataMessageMetaData.