com.gentics.api.lib.expressionparser.filtergenerator
Class FilterGeneratorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.gentics.api.lib.exception.NodeException
              extended by com.gentics.api.lib.expressionparser.ExpressionParserException
                  extended by com.gentics.api.lib.expressionparser.filtergenerator.FilterGeneratorException
All Implemented Interfaces:
java.io.Serializable

public class FilterGeneratorException
extends ExpressionParserException

Exception that might be thrown during the generation of a datasource filter.

See Also:
Serialized Form

Field Summary
protected  java.lang.String datasourceClassName
          name of the datasource class for which the filter should be generated
 
Fields inherited from class com.gentics.api.lib.expressionparser.ExpressionParserException
expressionString
 
Constructor Summary
FilterGeneratorException()
          Create an instance of the exception
FilterGeneratorException(java.lang.String message)
          Create an instance of the exception with a message.
FilterGeneratorException(java.lang.String message, java.lang.Throwable cause)
          Create an instance of the exception with a message and cause.
FilterGeneratorException(java.lang.Throwable cause)
          Create an instance of the exception with a cause
 
Method Summary
 java.lang.String getDatasourceClassName()
          Get the set datasource class name
protected  java.lang.String getGeneralExceptionMessagePrefix()
          Get the general exception message prefix (dependent on the concrete exception class)
 void setDatasourceClassName(java.lang.String datasourceClassName)
          Set the datasource class name
 
Methods inherited from class com.gentics.api.lib.expressionparser.ExpressionParserException
getExpressionString, getMessage, setExpressionString
 
Methods inherited from class com.gentics.api.lib.exception.NodeException
getLocalizedMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

datasourceClassName

protected java.lang.String datasourceClassName
name of the datasource class for which the filter should be generated

Constructor Detail

FilterGeneratorException

public FilterGeneratorException()
Create an instance of the exception


FilterGeneratorException

public FilterGeneratorException(java.lang.String message)
Create an instance of the exception with a message. The message will be prepended with
"Error while generating filter for expression {<expression>}: ".

Parameters:
message - exception message

FilterGeneratorException

public FilterGeneratorException(java.lang.Throwable cause)
Create an instance of the exception with a cause

Parameters:
cause - exception cause

FilterGeneratorException

public FilterGeneratorException(java.lang.String message,
                                java.lang.Throwable cause)
Create an instance of the exception with a message and cause. The message will be prepended with
"Error while generating filter for expression {<expression>}: ".

Parameters:
message - exception message
cause - exception cause
Method Detail

getGeneralExceptionMessagePrefix

protected java.lang.String getGeneralExceptionMessagePrefix()
Description copied from class: ExpressionParserException
Get the general exception message prefix (dependent on the concrete exception class)

Specified by:
getGeneralExceptionMessagePrefix in class ExpressionParserException
Returns:
general exception message prefix

getDatasourceClassName

public java.lang.String getDatasourceClassName()
Get the set datasource class name

Returns:
Returns the datasourceClassName.

setDatasourceClassName

public void setDatasourceClassName(java.lang.String datasourceClassName)
Set the datasource class name

Parameters:
datasourceClassName - The datasourceClassName to set.


Copyright © 2013 Gentics Software GmbH. All Rights Reserved.