abc.polyglot.util
Class SoftSemanticException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by abc.polyglot.util.SoftSemanticException
All Implemented Interfaces:
java.io.Serializable

public class SoftSemanticException
extends java.lang.RuntimeException

An unchecked version of SemanticException for use when there really is no choice (e.g. when you need to implement an interface that doesn't support the checked version. Unwrap into the checked version as quickly as possible.

Author:
Ganesh Sittampalam
See Also:
Serialized Form

Constructor Summary
SoftSemanticException(SemanticException e)
           
 
Method Summary
 SemanticException unwrap()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SoftSemanticException

public SoftSemanticException(SemanticException e)
Method Detail

unwrap

public SemanticException unwrap()