com.googlecode.flyway.core.api
Class FlywayException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.googlecode.flyway.core.exception.FlywayException
                  extended by com.googlecode.flyway.core.api.FlywayException
All Implemented Interfaces:
Serializable

public class FlywayException
extends com.googlecode.flyway.core.exception.FlywayException

Exception thrown when Flyway encounters a problem.

See Also:
Serialized Form

Constructor Summary
FlywayException()
          Creates a new FlywayException.
FlywayException(String message)
          Creates a new FlywayException with this message.
FlywayException(String message, Throwable cause)
          Creates a new FlywayException with this message and this cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FlywayException

public FlywayException(String message,
                       Throwable cause)
Creates a new FlywayException with this message and this cause.

Parameters:
message - The exception message.
cause - The exception cause.

FlywayException

public FlywayException(String message)
Creates a new FlywayException with this message.

Parameters:
message - The exception message.

FlywayException

public FlywayException()
Creates a new FlywayException. For use in subclasses that override getMessage().



Copyright © 2012. All Rights Reserved.