|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.solr.common.SolrException
public class SolrException
Nested Class Summary | |
---|---|
static class |
SolrException.ErrorCode
|
Field Summary | |
---|---|
static Set<String> |
ignorePatterns
For test code - do not log exceptions that match any of the regular expressions in ignorePatterns |
boolean |
logged
Deprecated. Logging should now occur from the top-most level, making this unnecessary in 4.x |
Method Summary | |
---|---|
int |
code()
|
static String |
doIgnore(String m)
Returns null if this exception does not match any ignore patterns, or a message string to use if it does. |
void |
log(org.slf4j.Logger log)
|
static void |
log(org.slf4j.Logger log,
String msg,
Throwable e)
|
static void |
log(org.slf4j.Logger log,
Throwable e)
|
static void |
logOnce(org.slf4j.Logger log,
String msg,
Throwable e)
Deprecated. use log(Logger, String, Throwable) |
static String |
toStr(Throwable e)
|
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 |
Field Detail |
---|
@Deprecated public boolean logged
public static Set<String> ignorePatterns
Constructor Detail |
---|
public SolrException(SolrException.ErrorCode code, String msg)
@Deprecated public SolrException(SolrException.ErrorCode code, String msg, boolean alreadyLogged)
SolrException(ErrorCode, String)
@Deprecated public SolrException(SolrException.ErrorCode code, String msg, Throwable th, boolean alreadyLogged)
SolrException(ErrorCode, String, Throwable)
public SolrException(SolrException.ErrorCode code, String msg, Throwable th)
public SolrException(SolrException.ErrorCode code, Throwable th)
@Deprecated public SolrException(int code, String msg)
SolrException(ErrorCode,String)
.
@Deprecated public SolrException(int code, String msg, boolean alreadyLogged)
SolrException(ErrorCode,String,boolean)
.
@Deprecated public SolrException(int code, String msg, Throwable th, boolean alreadyLogged)
SolrException(ErrorCode,String,Throwable,boolean)
.
@Deprecated public SolrException(int code, String msg, Throwable th)
SolrException(ErrorCode,String,Throwable)
.
@Deprecated public SolrException(int code, Throwable th)
SolrException(ErrorCode,Throwable)
.
Method Detail |
---|
public int code()
public void log(org.slf4j.Logger log)
public static void log(org.slf4j.Logger log, Throwable e)
public static void log(org.slf4j.Logger log, String msg, Throwable e)
public static void logOnce(org.slf4j.Logger log, String msg, Throwable e)
log(Logger, String, Throwable)
public String toString()
toString
in class Throwable
public static String toStr(Throwable e)
public static String doIgnore(String m)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |