Salt  3.4.2
A powerful, tagset-independent and theory-neutral meta model and API for storing, manipulating, and representing nearly all types of linguistic data .
org.corpus_tools.salt.exceptions.SaltInsertionException Class Reference

This exception is thrown, if one object could not be inserted into another object. More...

Inherits RuntimeException.

Public Member Functions

 SaltInsertionException (Object container, Object object)
 Initializes an object of this exception class. More...
 
 SaltInsertionException (Object container, Object object, String msg)
 Initializes an object of this exception class. More...
 
 SaltInsertionException (Object container, Object object, String msg, Throwable ex)
 Initializes an object of this exception class. More...
 

Detailed Description

This exception is thrown, if one object could not be inserted into another object.

For instance if a Node can not be set to an Relations source or target, a Relation cannot be added to a Graph or a Label cannot be added to a Node etc. .

Author
Florian Zipser

Constructor & Destructor Documentation

◆ SaltInsertionException() [1/3]

org.corpus_tools.salt.exceptions.SaltInsertionException.SaltInsertionException ( Object  container,
Object  object 
)

Initializes an object of this exception class.

Parameters
containerthe container object, which could not insert the passed object.
objectthe object to be inserted into the container

◆ SaltInsertionException() [2/3]

org.corpus_tools.salt.exceptions.SaltInsertionException.SaltInsertionException ( Object  container,
Object  object,
String  msg 
)

Initializes an object of this exception class.

Parameters
containerthe container object, which could not insert the passed object.
objectthe object to be inserted into the container
msga message to be passed

◆ SaltInsertionException() [3/3]

org.corpus_tools.salt.exceptions.SaltInsertionException.SaltInsertionException ( Object  container,
Object  object,
String  msg,
Throwable  ex 
)

Initializes an object of this exception class.

Parameters
containerthe container object, which could not insert the passed object.
objectthe object to be inserted into the container
msga message to be passed
exa sub exception too be passed