Package mondrian.xmla
Class XmlaException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- mondrian.olap.MondrianException
-
- mondrian.xmla.XmlaException
-
- All Implemented Interfaces:
Serializable
public class XmlaException extends MondrianException
An exception thrown while processing an XMLA request. The faultcode corresponds to the SOAP Fault faultcode and the faultstring to the SOAP Fault faultstring.- Author:
- Richard M. Emberson
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XmlaException(String faultCode, String code, String faultString, Throwable cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
formatDetail(String msg)
static String
formatFaultCode(String faultCode, String code)
static String
formatFaultCode(String nsPrefix, String faultCode, String code)
static String
formatFaultCode(XmlaException xex)
String
getCode()
String
getDetail()
String
getFaultCode()
String
getFaultString()
static Throwable
getRootCause(Throwable throwable)
-
Methods inherited from class mondrian.olap.MondrianException
getLocalizedMessage, getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
formatFaultCode
public static String formatFaultCode(XmlaException xex)
-
formatFaultCode
public static String formatFaultCode(String nsPrefix, String faultCode, String code)
-
getFaultCode
public String getFaultCode()
-
getCode
public String getCode()
-
getFaultString
public String getFaultString()
-
getDetail
public String getDetail()
-
-