Groovy Documentation

griffon.plugins.i18n
[Java] Class ConstraintNotSupportedException

java.lang.Object
  java.lang.Throwable
      java.lang.Exception
          java.lang.RuntimeException
              griffon.plugins.i18n.ConstraintNotSupportedException

public class ConstraintNotSupportedException
extends RuntimeException

Authors:
Alexander Klein


Field Summary
private Object constraint

private MessageSource source

 
Constructor Summary
ConstraintNotSupportedException(MessageSource source, Object constraint)

Create a new exception.

 
Method Summary
Object getConstraint()

Get the constraint

MessageSource getSource()

Get the MessageSource

 
Methods inherited from class RuntimeException
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Exception
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 

Field Detail

constraint

private Object constraint


source

private MessageSource source


 
Constructor Detail

ConstraintNotSupportedException

public ConstraintNotSupportedException(MessageSource source, Object constraint)
Create a new exception.
Parameters:
source - message that could not be resolved for given locale
constraint - locale that was used to search for the code within


 
Method Detail

getConstraint

public Object getConstraint()
Get the constraint
Returns:
The constraint object


getSource

public MessageSource getSource()
Get the MessageSource
Returns:
The MessageSource instance


 

Groovy Documentation