Class MigrationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jbpm.runtime.manager.impl.migration.MigrationException
-
- All Implemented Interfaces:
Serializable
public class MigrationException extends RuntimeException
Global migration exception thrown directly upon first failure - fail fast approach. Next to regular information (message and cause) it provides up to date migration report providing all information about the migration process.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MigrationException(String message, Throwable cause, MigrationReport report)
MigrationException(String message, MigrationReport report)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MigrationReport
getReport()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MigrationException
public MigrationException(String message, Throwable cause, MigrationReport report)
-
MigrationException
public MigrationException(String message, MigrationReport report)
-
-
Method Detail
-
getReport
public MigrationReport getReport()
-
-