org.gvsig.tools.exception
Class ListBaseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.gvsig.tools.exception.BaseException
org.gvsig.tools.exception.ListBaseException
- All Implemented Interfaces:
- Serializable, Iterable, Collection, List, IBaseException
- Direct Known Subclasses:
- DefaultDynClass.CheckDynClassListException, DefaultDynField.CheckDynFieldListException, DynObjectValidateException, PersistenceException
public abstract class ListBaseException
- extends BaseException
- implements List
- Author:
- Equipo de desarrollo de gvSIG
- See Also:
- Serialized Form
Methods inherited from class org.gvsig.tools.exception.BaseException |
getCode, getFormatString, getLocalizedMessage, getLocalizedMessageStack, getLocalizedMessageStack, getMessageKey, getMessageStack, getMessageStack, iterator, setCode, setFormatString, setMessageKey, setTranslator, setTranslator, setValue, values |
ListBaseException
public ListBaseException(String message,
String key,
long code)
ListBaseException
public ListBaseException(String message,
Throwable cause,
String key,
long code)
size
public int size()
- Specified by:
size
in interface Collection
- Specified by:
size
in interface List
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Collection
- Specified by:
isEmpty
in interface List
contains
public boolean contains(Object arg0)
- Specified by:
contains
in interface Collection
- Specified by:
contains
in interface List
toArray
public Object[] toArray()
- Specified by:
toArray
in interface Collection
- Specified by:
toArray
in interface List
toArray
public Object[] toArray(Object[] arg0)
- Specified by:
toArray
in interface Collection
- Specified by:
toArray
in interface List
- Parameters:
arg0
-
- Returns:
add
public boolean add(Object arg0)
- Specified by:
add
in interface Collection
- Specified by:
add
in interface List
- Parameters:
arg0
-
- Returns:
remove
public boolean remove(Object arg0)
- Specified by:
remove
in interface Collection
- Specified by:
remove
in interface List
containsAll
public boolean containsAll(Collection arg0)
- Specified by:
containsAll
in interface Collection
- Specified by:
containsAll
in interface List
- Parameters:
arg0
-
- Returns:
addAll
public boolean addAll(Collection arg0)
- Specified by:
addAll
in interface Collection
- Specified by:
addAll
in interface List
- Parameters:
arg0
-
- Returns:
addAll
public boolean addAll(int arg0,
Collection arg1)
- Specified by:
addAll
in interface List
- Parameters:
arg0
- arg1
-
- Returns:
removeAll
public boolean removeAll(Collection arg0)
- Specified by:
removeAll
in interface Collection
- Specified by:
removeAll
in interface List
- Parameters:
arg0
-
- Returns:
retainAll
public boolean retainAll(Collection arg0)
- Specified by:
retainAll
in interface Collection
- Specified by:
retainAll
in interface List
- Parameters:
arg0
-
- Returns:
clear
public void clear()
- Specified by:
clear
in interface Collection
- Specified by:
clear
in interface List
get
public Object get(int arg0)
- Specified by:
get
in interface List
set
public Object set(int arg0,
Object arg1)
- Specified by:
set
in interface List
- Parameters:
arg0
- arg1
-
- Returns:
add
public void add(int arg0,
Object arg1)
- Specified by:
add
in interface List
- Parameters:
arg0
- arg1
-
remove
public Object remove(int arg0)
- Specified by:
remove
in interface List
indexOf
public int indexOf(Object arg0)
- Specified by:
indexOf
in interface List
lastIndexOf
public int lastIndexOf(Object arg0)
- Specified by:
lastIndexOf
in interface List
listIterator
public ListIterator listIterator()
- Specified by:
listIterator
in interface List
listIterator
public ListIterator listIterator(int arg0)
- Specified by:
listIterator
in interface List
subList
public List subList(int arg0,
int arg1)
- Specified by:
subList
in interface List
getMessage
public String getMessage()
- Description copied from interface:
IBaseException
- Returns the message that describes the exception.
- Specified by:
getMessage
in interface IBaseException
- Overrides:
getMessage
in class BaseException
- Returns:
- The message.
getMessage
public String getMessage(int indent)
- Description copied from interface:
IBaseException
- Returns the message that describes the exception, with indentation.
- Specified by:
getMessage
in interface IBaseException
- Overrides:
getMessage
in class BaseException
- Parameters:
indent
- Quantity of blanks to insert
at the start of the message.
- Returns:
- The message with indentation.
getLocalizedMessage
public String getLocalizedMessage(ExceptionTranslator exceptionTranslator,
int indent)
- Description copied from interface:
IBaseException
- Returns the translated message that
describes the exception with indentation.
- Specified by:
getLocalizedMessage
in interface IBaseException
- Overrides:
getLocalizedMessage
in class BaseException
- Parameters:
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.
- Returns:
- The translated message with indentation.
printStackTrace
public void printStackTrace(PrintStream s)
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintWriter s)
- Overrides:
printStackTrace
in class Throwable
Copyright © 2004-2011 gvSIG. All Rights Reserved.