A C D G I L P R S T 
All Classes All Packages

A

AbstractExceptions - Class in com.arthenica.smartexception
Abstract class that includes common variables and methods for different Exceptions implementations.
AbstractExceptions() - Constructor for class com.arthenica.smartexception.AbstractExceptions
 
appendStackTraceGroupElement(StringBuilder, String, int, StackTraceElement, boolean) - Static method in class com.arthenica.smartexception.AbstractExceptions
Appends stack trace group information for the given parameters.

C

ClassLoader - Interface in com.arthenica.smartexception
 
clearGroupPackages() - Static method in class com.arthenica.smartexception.AbstractExceptions
Clears previously registered group packages.
clearIgnorePackages() - Static method in class com.arthenica.smartexception.AbstractExceptions
Clears previously registered ignore packages.
clearRootPackages() - Static method in class com.arthenica.smartexception.AbstractExceptions
Clears previously registered root packages.
com.arthenica.smartexception - package com.arthenica.smartexception
 
containsCause(Throwable, Class<?>) - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns true if the given cause class is found in the exception chain of the throwable.
containsCause(Throwable, Class<?>, String) - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns true if the given cause class and cause message is found in the exception chain of the throwable.
containsPackage(String, Set<String>) - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns true if package of the given class name matches one of package names provided in packageSet.

D

DEFAULT_IGNORE_ALL_CAUSES - Static variable in class com.arthenica.smartexception.AbstractExceptions
Default value for ignoring all causes when stack trace elements are printed or converted to string.
DEFAULT_MAX_DEPTH - Static variable in class com.arthenica.smartexception.AbstractExceptions
Default max depth used in methods which do not have a maxDepth argument.
DEFAULT_PRINT_PACKAGE_INFORMATION - Static variable in class com.arthenica.smartexception.AbstractExceptions
Default value for printing package information when stack trace elements are printed or converted to string.

G

getAllMessages(Throwable) - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns all messages found in the exception chain of the throwable as a single string.
getAllMessages(Throwable, StringBuilder) - Static method in class com.arthenica.smartexception.AbstractExceptions
Adds all messages found in the exception chain of the throwable into the given message builder.
getCause(Throwable) - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns the cause of the throwable by walking through the exception chain.
getCause(Throwable, int) - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns the cause of the throwable by walking through the exception chain.
getContainingPackage(String, Set<String>) - Static method in class com.arthenica.smartexception.AbstractExceptions
Checks if one of the package names in the packageSet matches the package of the given class name and returns the matching package name.
getIgnoreAllCauses() - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns the value of ignore all causes option.
getModuleName(StackTraceElement) - Method in interface com.arthenica.smartexception.StackTraceElementSerializer
Returns module name for the given stackTraceElement.
getNativeMethodDefinition() - Method in interface com.arthenica.smartexception.StackTraceElementSerializer
Returns string definition used to print native methods.
getPackage(ClassLoader, String) - Method in interface com.arthenica.smartexception.PackageLoader
 
getPackageInformation(StackTraceElement) - Method in interface com.arthenica.smartexception.StackTraceElementSerializer
Returns package information for the given stackTraceElement.
getStackTrace(Throwable, int) - Static method in class com.arthenica.smartexception.AbstractExceptions
Builds a smart stack trace for the given throwable using elements found until the maxDepth and elements of it.
getStackTrace(Throwable, Set<String>, Set<String>) - Static method in class com.arthenica.smartexception.AbstractExceptions
Builds a smart stack trace for the given throwable using packages provided and returns elements of it.
getStackTraceElementSerializer() - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns the global stack trace serializer implementation which is used to serialize StackTraceElement objects in getStackTraceString methods.
getStackTraceString(Throwable) - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns the smart stack trace for the given throwable.
getStackTraceString(Throwable, boolean) - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns the smart stack trace for the given throwable.
getStackTraceString(Throwable, boolean, Set<String>, Set<String>, Set<String>, int, boolean, boolean) - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns the smart stack trace for the given throwable using parameters provided.
getStackTraceString(Throwable, int) - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns the smart stack trace for the given throwable using elements found until the maxDepth.
getStackTraceString(Throwable, int, boolean) - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns the smart stack trace for the given throwable using elements found until the maxDepth.
getStackTraceString(Throwable, int, boolean, boolean) - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns the smart stack trace for the given throwable using elements found until the maxDepth.
getStackTraceString(Throwable, String) - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns the smart stack trace for the given throwable using root package provided.
getStackTraceString(Throwable, String, String) - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns the smart stack trace for the given throwable using root package provided.
getStackTraceString(Throwable, Set<String>, Set<String>, Set<String>) - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns the smart stack trace for the given throwable using packages provided.
getStackTraceString(Throwable, Set<String>, Set<String>, Set<String>, boolean) - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns the smart stack trace for the given throwable using packages provided.
getStackTraceString(Throwable, Set<String>, Set<String>, Set<String>, boolean, boolean) - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns the smart stack trace for the given throwable using packages provided.
getUnknownSourceDefinition() - Method in interface com.arthenica.smartexception.StackTraceElementSerializer
Returns string definition used to print methods with unknown source.
getVersion(PackageLoader, Class<?>, String) - Static method in class com.arthenica.smartexception.AbstractExceptions
Loads the implementation version for the given package.
groupPackageSet - Static variable in class com.arthenica.smartexception.AbstractExceptions
Stores global group package names.

I

ignoreAllCauses - Static variable in class com.arthenica.smartexception.AbstractExceptions
Stores the value of global ignore all causes option.
ignoreCausePackageSet - Static variable in class com.arthenica.smartexception.AbstractExceptions
Stores global ignore cause package names.
ignorePackageSet - Static variable in class com.arthenica.smartexception.AbstractExceptions
Stores global ignore package names.
isEmpty(String) - Static method in class com.arthenica.smartexception.AbstractExceptions
Checks if given string is empty or not.
isPrintPackageInformation() - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns the value of print package information option.

L

libraryName(Class<?>) - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns the jar file that includes the given class.
loadClass(String) - Method in interface com.arthenica.smartexception.ClassLoader
 

P

PackageLoader - Interface in com.arthenica.smartexception
 
packageName(String) - Static method in class com.arthenica.smartexception.AbstractExceptions
Returns the package name of this class.
printPackageInformation - Static variable in class com.arthenica.smartexception.AbstractExceptions
Stores the global print package information option.

R

registerGroupPackage(String) - Static method in class com.arthenica.smartexception.AbstractExceptions
Registers a new group package.
registerIgnorePackage(String, boolean) - Static method in class com.arthenica.smartexception.AbstractExceptions
Registers a new ignore package.
registerRootPackage(String) - Static method in class com.arthenica.smartexception.AbstractExceptions
Registers a new root package.
rootPackageSet - Static variable in class com.arthenica.smartexception.AbstractExceptions
Stores global root package names.

S

searchCause(Throwable, Class<?>) - Static method in class com.arthenica.smartexception.AbstractExceptions
Searches for the given cause class in the exception chain of the throwable.
searchCause(Throwable, Class<?>, int) - Static method in class com.arthenica.smartexception.AbstractExceptions
Searches for the given cause class in the exception chain of the throwable.
searchCause(Throwable, Class<?>, String) - Static method in class com.arthenica.smartexception.AbstractExceptions
Searches for the given cause class and cause message in the exception chain of the throwable.
searchCause(Throwable, Class<?>, String, int) - Static method in class com.arthenica.smartexception.AbstractExceptions
Searches for the given cause class and cause message in the exception chain of the throwable.
setIgnoreAllCauses(boolean) - Static method in class com.arthenica.smartexception.AbstractExceptions
Sets the value of ignore all causes option.
setPrintPackageInformation(boolean) - Static method in class com.arthenica.smartexception.AbstractExceptions
Sets the value of print package information option.
setStackTraceElementSerializer(StackTraceElementSerializer) - Static method in class com.arthenica.smartexception.AbstractExceptions
Sets the global stack trace serializer implementation which is used to serialize StackTraceElement objects in getStackTraceString methods.
stackTraceElementSerializer - Static variable in class com.arthenica.smartexception.AbstractExceptions
Stores the global stack trace serializer implementation.
StackTraceElementSerializer - Interface in com.arthenica.smartexception
Base interface for classes which can serialize StackTraceElement objects.

T

toString(StackTraceElement, boolean) - Method in interface com.arthenica.smartexception.StackTraceElementSerializer
Converts the given stackTraceElement into a string.
A C D G I L P R S T 
All Classes All Packages