org.maltparser.core.exception
Class MaltChainedException
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           org.maltparser.core.exception.MaltChainedException
org.maltparser.core.exception.MaltChainedException
- All Implemented Interfaces: 
- Serializable
- Direct Known Subclasses: 
- ConfigurationException, DataFormatException, FeatureException, FlowException, GuideException, HeadRuleException, HistoryException, LiblinearException, LibsvmException, OptionException, ParsingException, PluginException, PropagationException, SymbolException, SyntaxGraphException, TransformationException
- public class MaltChainedException 
- extends Exception
MaltChainedException handles a chain of MaltParser specific exception.
- Author:
- Johan Hall
- See Also:
- Serialized Form
 
 
 
 
 
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
MaltChainedException
public MaltChainedException()
- Creates a MaltChainedException instance
 
MaltChainedException
public MaltChainedException(String message)
- Creates a MaltChainedException instance with a message
 
- Parameters:
- message- a message string
 
MaltChainedException
public MaltChainedException(String message,
                            Throwable cause)
- Creates a MaltChainedException instance with a message and keeps track of the cause of the exception.
 
- Parameters:
- message- a message string
- cause- a cause
 
getCause
public Throwable getCause()
- 
- Overrides:
- getCausein class- Throwable
 
- 
 
getMessageChain
public String getMessageChain()
- Returns a string representation of the exception chain. Only MaltParser specific exception is included.
 
- 
- Returns:
- a string representation of the exception chain
 
printStackTrace
public void printStackTrace()
- 
- Overrides:
- printStackTracein class- Throwable
 
- 
 
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.