Package org.flywaydb.core.api
Class FlywayException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.flywaydb.core.api.FlywayException
-
- All Implemented Interfaces:
Serializable
public class FlywayException extends RuntimeException
Exception thrown when Flyway encounters a problem.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description 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.FlywayException(Throwable cause)Creates a new FlywayException with this cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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(Throwable cause)
Creates a new FlywayException with this cause. For use in subclasses that override getMessage().- Parameters:
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().
-
-