org.apache.solr.core
Class SolrException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.solr.core.SolrException
- All Implemented Interfaces:
- java.io.Serializable
public class SolrException
- extends java.lang.RuntimeException
- Version:
- $Id: SolrException.java 542737 2007-05-30 03:13:05Z ryan $
- Author:
- yonik
- See Also:
- Serialized Form
Constructor Summary |
SolrException(int code,
java.lang.String msg)
Deprecated. |
SolrException(int code,
java.lang.String msg,
boolean alreadyLogged)
Deprecated. |
SolrException(int code,
java.lang.String msg,
java.lang.Throwable th)
Deprecated. |
SolrException(int code,
java.lang.String msg,
java.lang.Throwable th,
boolean alreadyLogged)
Deprecated. |
SolrException(int code,
java.lang.Throwable th)
Deprecated. |
SolrException(SolrException.ErrorCode code,
java.lang.String msg)
|
SolrException(SolrException.ErrorCode code,
java.lang.String msg,
boolean alreadyLogged)
|
SolrException(SolrException.ErrorCode code,
java.lang.String msg,
java.lang.Throwable th)
|
SolrException(SolrException.ErrorCode code,
java.lang.String msg,
java.lang.Throwable th,
boolean alreadyLogged)
|
SolrException(SolrException.ErrorCode code,
java.lang.Throwable th)
|
Method Summary |
int |
code()
|
void |
log(java.util.logging.Logger log)
|
static void |
log(java.util.logging.Logger log,
java.lang.String msg,
java.lang.Throwable e)
|
static void |
log(java.util.logging.Logger log,
java.lang.Throwable e)
|
static void |
logOnce(java.util.logging.Logger log,
java.lang.String msg,
java.lang.Throwable e)
|
static java.lang.String |
toStr(java.lang.Throwable e)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
logged
public boolean logged
SolrException
public SolrException(SolrException.ErrorCode code,
java.lang.String msg)
SolrException
public SolrException(SolrException.ErrorCode code,
java.lang.String msg,
boolean alreadyLogged)
SolrException
public SolrException(SolrException.ErrorCode code,
java.lang.String msg,
java.lang.Throwable th,
boolean alreadyLogged)
SolrException
public SolrException(SolrException.ErrorCode code,
java.lang.String msg,
java.lang.Throwable th)
SolrException
public SolrException(SolrException.ErrorCode code,
java.lang.Throwable th)
SolrException
@Deprecated
public SolrException(int code,
java.lang.String msg)
- Deprecated.
SolrException
@Deprecated
public SolrException(int code,
java.lang.String msg,
boolean alreadyLogged)
- Deprecated.
SolrException
@Deprecated
public SolrException(int code,
java.lang.String msg,
java.lang.Throwable th,
boolean alreadyLogged)
- Deprecated.
SolrException
@Deprecated
public SolrException(int code,
java.lang.String msg,
java.lang.Throwable th)
- Deprecated.
SolrException
@Deprecated
public SolrException(int code,
java.lang.Throwable th)
- Deprecated.
code
public int code()
log
public void log(java.util.logging.Logger log)
log
public static void log(java.util.logging.Logger log,
java.lang.Throwable e)
log
public static void log(java.util.logging.Logger log,
java.lang.String msg,
java.lang.Throwable e)
logOnce
public static void logOnce(java.util.logging.Logger log,
java.lang.String msg,
java.lang.Throwable e)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable
toStr
public static java.lang.String toStr(java.lang.Throwable e)
Copyright © 2006 - 2008 The Apache Software Foundation