org.formulacompiler.spreadsheet
Class SpreadsheetException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.formulacompiler.runtime.FormulaCompilerException
              extended by org.formulacompiler.compiler.CompilerException
                  extended by org.formulacompiler.spreadsheet.SpreadsheetException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SpreadsheetException.CellRangeNotUniDimensional, SpreadsheetException.LoadError, SpreadsheetException.SaveError, SpreadsheetException.UnsupportedExpression, SpreadsheetException.UnsupportedFormat

public class SpreadsheetException
extends CompilerException

Base class for all spreadsheet-related errors thrown by AFC.

Author:
peo
See Also:
Serialized Form

Nested Class Summary
static class SpreadsheetException.CellRangeNotUniDimensional
          When a formula gives a range name in a place where a single cell is expected, then the range must be unidimensional.
static class SpreadsheetException.LoadError
          An internal spreadsheet model could not be saved.
static class SpreadsheetException.NameNotFound
          You attempted to access a cell or range by a name which is not defined.
static class SpreadsheetException.NotInSection
          You attempted to define an input or output cell or range within a section, but the cell or range is not fully contained with said section.
static class SpreadsheetException.SaveError
          An internal spreadsheet model could not be saved.
static class SpreadsheetException.SectionExtentNotCovered
          You are compiling a spreadsheet with an aggregate function over a range that overlaps, but does not exactly match the variable extent of a section.
static class SpreadsheetException.SectionOverlap
          You attempted to define a section that overlaps another.
static class SpreadsheetException.SectionSpan
          You attempted to aggregate a range that spans cells and/or subsections in an unsupported way.
static class SpreadsheetException.UnsupportedExpression
          A cell formula contains a parsing error.
static class SpreadsheetException.UnsupportedFormat
          A unsupported spreadsheet file format extension was encountered.
 
Nested classes/interfaces inherited from class org.formulacompiler.compiler.CompilerException
CompilerException.BrokenReference, CompilerException.ConstructorMissing, CompilerException.DataTypeError, CompilerException.DuplicateDefinition, CompilerException.FactoryMethodMissing, CompilerException.MethodNotImplemented, CompilerException.ParallelVectorsSpanDifferentSubSections, CompilerException.ReferenceToArrayNotAggregated, CompilerException.ReferenceToInnerCellNotAggregated, CompilerException.ReferenceToOuterInnerCell, CompilerException.SectionOrientation, CompilerException.UnsupportedDataType, CompilerException.UnsupportedExpressionSource, CompilerException.UnsupportedOperator
 
Constructor Summary
SpreadsheetException(java.lang.String _message)
           
SpreadsheetException(java.lang.String _message, java.lang.Throwable _cause)
           
SpreadsheetException(java.lang.Throwable _cause)
           
 
Method Summary
 
Methods inherited from class org.formulacompiler.runtime.FormulaCompilerException
addMessageContext, getMessage, getMessageContext, getPureMessage, setMessageContext
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpreadsheetException

public SpreadsheetException(java.lang.String _message)

SpreadsheetException

public SpreadsheetException(java.lang.String _message,
                            java.lang.Throwable _cause)

SpreadsheetException

public SpreadsheetException(java.lang.Throwable _cause)