org.quattor.pan.exceptions
Class ValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.quattor.pan.exceptions.ValidationException
All Implemented Interfaces:
java.io.Serializable

public class ValidationException
extends java.lang.RuntimeException

Exceptions of this type can be thrown during the validation phase of the processing.

Author:
loomis
See Also:
Serialized Form

Method Summary
 ValidationException addTerm(Term term)
           
 ValidationException addTypeToStack(java.lang.String name, FullType type)
           
static ValidationException create(java.lang.String msgkey, java.lang.Object... args)
           
 java.lang.String getMessage()
           
 ValidationException setObjectTemplate(java.io.File objectTemplate)
           
 ValidationException setPathTypeAndObject(Path path, FullType type, java.io.File objectTemplate)
           
 ValidationException setValue(Property property)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static ValidationException create(java.lang.String msgkey,
                                         java.lang.Object... args)

setObjectTemplate

public ValidationException setObjectTemplate(java.io.File objectTemplate)

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

setPathTypeAndObject

public ValidationException setPathTypeAndObject(Path path,
                                                FullType type,
                                                java.io.File objectTemplate)

addTerm

public ValidationException addTerm(Term term)

addTypeToStack

public ValidationException addTypeToStack(java.lang.String name,
                                          FullType type)

setValue

public ValidationException setValue(Property property)


Copyright © 2011 Quattor. All Rights Reserved.