com.google.api.ads.common.lib.exception
Class ValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.google.api.ads.common.lib.exception.ValidationException
All Implemented Interfaces:
Serializable

public class ValidationException
extends Exception

Exception for validation errors.

Author:
Adam Rogal
See Also:
Serialized Form

Constructor Summary
ValidationException(String message, String trigger)
          Constructor.
ValidationException(String message, String trigger, Throwable cause)
          Constructor.
 
Method Summary
 String getTrigger()
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidationException

public ValidationException(String message,
                           String trigger)
Constructor.

Parameters:
message - the exception message
trigger - the trigger of the validation exception

ValidationException

public ValidationException(String message,
                           String trigger,
                           Throwable cause)
Constructor.

Parameters:
message - the exception message
trigger - the trigger of the validation exception
cause - the exception that caused this ValidationException
Method Detail

getTrigger

public String getTrigger()

toString

public String toString()
Overrides:
toString in class Throwable


Copyright © 2012. All Rights Reserved.