Package org.apache.tapestry5.commons.util

# Class DifferentClassVersionsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.tapestry5.commons.internal.util.TapestryException
org.apache.tapestry5.commons.util.DifferentClassVersionsException

All Implemented Interfaces:
  `Serializable`, `Locatable`

public class DifferentClassVersionsException extends TapestryException
Exception used when trying to assemble a page but different versions of the same class are found.

Since:
  5.8.3
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DifferentClassVersionsException(String message, String className, ClassLoader classLoader1, ClassLoader classLoader2)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ClassLoader`
  `getClassLoader1()`
  `ClassLoader`
  `getClassLoader2()`
  `String`
  `getClassName()`

  ### Methods inherited from class org.apache.tapestry5.commons.internal.util.TapestryException

  `getLocation, toString`

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### DifferentClassVersionsException

    public DifferentClassVersionsException(String message, String className, ClassLoader classLoader1, ClassLoader classLoader2)

- ## Method Details

  - ### getClassName

    public String getClassName()

  - ### getClassLoader1

    public ClassLoader getClassLoader1()

  - ### getClassLoader2

    public ClassLoader getClassLoader2()