mondrian.xmla
Class XmlaException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by mondrian.olap.MondrianException
                  extended by 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
XmlaException(String faultCode, String code, String faultString, Throwable cause)
           
 
Method Summary
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
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlaException

public XmlaException(String faultCode,
                     String code,
                     String faultString,
                     Throwable cause)
Method Detail

formatFaultCode

public static String formatFaultCode(XmlaException xex)

formatFaultCode

public static String formatFaultCode(String faultCode,
                                     String code)

formatFaultCode

public static String formatFaultCode(String nsPrefix,
                                     String faultCode,
                                     String code)

formatDetail

public static String formatDetail(String msg)

getRootCause

public static Throwable getRootCause(Throwable throwable)

getFaultCode

public String getFaultCode()

getCode

public String getCode()

getFaultString

public String getFaultString()

getDetail

public String getDetail()

SourceForge.net_Logo