Class CmsUgcException

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.IsSerializable, java.io.Serializable

    public class CmsUgcException
    extends CmsRpcException
    Exception class for use in the org.opencms.editors.usergenerated module.

    See Also:
    Serialized Form
    • Constructor Detail

      • CmsUgcException

        public CmsUgcException​(CmsUgcConstants.ErrorCode errorCode,
                               java.lang.String message)
        Creates a new instance.

        Parameters:
        errorCode - the error type
        message - the error message
      • CmsUgcException

        public CmsUgcException​(java.lang.Throwable t)
        Creates a new instance.

        Parameters:
        t - the wrapped exception
      • CmsUgcException

        public CmsUgcException​(java.lang.Throwable t,
                               CmsUgcConstants.ErrorCode errorCode,
                               java.lang.String message)
        Creates a new instance.

        Parameters:
        t - the original exception
        errorCode - the error type
        message - the error message
      • CmsUgcException

        protected CmsUgcException()
        Default constructor for serialization.