com.splunk
Class SplunkException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.splunk.SplunkException
All Implemented Interfaces:
java.io.Serializable

public class SplunkException
extends java.lang.RuntimeException

Thrown for Splunk responses that return an error status code.

See Also:
Serialized Form

Field Summary
static int AMBIGUOUS
           
static int INTERRUPTED
           
static int JOB_NOTREADY
           
static int TIMEOUT
           
 
Method Summary
 int getCode()
           
 java.lang.String getText()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

JOB_NOTREADY

public static final int JOB_NOTREADY
See Also:
Constant Field Values

TIMEOUT

public static final int TIMEOUT
See Also:
Constant Field Values

AMBIGUOUS

public static final int AMBIGUOUS
See Also:
Constant Field Values

INTERRUPTED

public static final int INTERRUPTED
See Also:
Constant Field Values
Method Detail

getCode

public int getCode()

getText

public java.lang.String getText()