public abstract class ListBaseException extends BaseException implements List
code, formatString, messageKey
Constructor and Description |
---|
ListBaseException(String message,
String key,
long code) |
ListBaseException(String message,
Throwable cause,
String key,
long code) |
Modifier and Type | Method and Description |
---|---|
void |
add(int arg0,
Object arg1) |
boolean |
add(Object arg0) |
boolean |
addAll(Collection arg0) |
boolean |
addAll(int arg0,
Collection arg1) |
void |
clear() |
boolean |
contains(Object arg0) |
boolean |
containsAll(Collection arg0) |
Object |
get(int arg0) |
String |
getLocalizedMessage(ExceptionTranslator exceptionTranslator,
int indent)
Returns the translated message that
describes the exception with indentation.
|
String |
getMessage()
Returns the message that describes the exception.
|
String |
getMessage(int indent)
Returns the message that describes the exception, with indentation.
|
int |
indexOf(Object arg0) |
boolean |
isEmpty() |
int |
lastIndexOf(Object arg0) |
ListIterator |
listIterator() |
ListIterator |
listIterator(int arg0) |
void |
printStackTrace() |
void |
printStackTrace(PrintStream s) |
void |
printStackTrace(PrintWriter s) |
Object |
remove(int arg0) |
boolean |
remove(Object arg0) |
boolean |
removeAll(Collection arg0) |
boolean |
retainAll(Collection arg0) |
Object |
set(int arg0,
Object arg1) |
int |
size() |
List |
subList(int arg0,
int arg1) |
Object[] |
toArray() |
Object[] |
toArray(Object[] arg0) |
getCode, getFormatString, getLocalizedMessage, getLocalizedMessageStack, getLocalizedMessageStack, getMessageKey, getMessageStack, getMessageStack, getValue, iterator, setCode, setFormatString, setMessageKey, setTranslator, setTranslator, setValue, values
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, iterator, replaceAll, sort, spliterator
parallelStream, removeIf, stream
public int size()
size
in interface Collection
size
in interface List
public boolean isEmpty()
isEmpty
in interface Collection
isEmpty
in interface List
public boolean contains(Object arg0)
contains
in interface Collection
contains
in interface List
public Object[] toArray()
toArray
in interface Collection
toArray
in interface List
public Object[] toArray(Object[] arg0)
toArray
in interface Collection
toArray
in interface List
arg0
- public boolean add(Object arg0)
add
in interface Collection
add
in interface List
arg0
- public boolean remove(Object arg0)
remove
in interface Collection
remove
in interface List
public boolean containsAll(Collection arg0)
containsAll
in interface Collection
containsAll
in interface List
arg0
- public boolean addAll(Collection arg0)
addAll
in interface Collection
addAll
in interface List
arg0
- public boolean addAll(int arg0, Collection arg1)
public boolean removeAll(Collection arg0)
removeAll
in interface Collection
removeAll
in interface List
arg0
- public boolean retainAll(Collection arg0)
retainAll
in interface Collection
retainAll
in interface List
arg0
- public void clear()
clear
in interface Collection
clear
in interface List
public void add(int arg0, Object arg1)
public int lastIndexOf(Object arg0)
lastIndexOf
in interface List
public ListIterator listIterator()
listIterator
in interface List
public ListIterator listIterator(int arg0)
listIterator
in interface List
public String getMessage()
IBaseException
getMessage
in interface IBaseException
getMessage
in class BaseException
public String getMessage(int indent)
IBaseException
getMessage
in interface IBaseException
getMessage
in class BaseException
indent
- Quantity of blanks to insert
at the start of the message.public String getLocalizedMessage(ExceptionTranslator exceptionTranslator, int indent)
IBaseException
getLocalizedMessage
in interface IBaseException
getLocalizedMessage
in class BaseException
exceptionTranslator
- Instance of a class that fulfills
the IExceptionTranslator interface.
His method "getText" takes charge returning
the expression, correspondent to the key that
delivers him, translated into the configured language.indent
- Quantity of blanks to insert
at the start of the message.public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintWriter s)
printStackTrace
in class Throwable