Liferay 6.2-ce-ga5

com.liferay.portlet.asset
Class AssetCategoryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.liferay.portal.kernel.exception.NestableException
              extended by com.liferay.portal.kernel.exception.PortalException
                  extended by com.liferay.portlet.asset.AssetCategoryException
All Implemented Interfaces:
Serializable

public class AssetCategoryException
extends PortalException

See Also:
Serialized Form

Field Summary
static int AT_LEAST_ONE_CATEGORY
           
static int TOO_MANY_CATEGORIES
           
 
Constructor Summary
AssetCategoryException(AssetVocabulary vocabulary, int type)
           
 
Method Summary
 int getType()
           
 AssetVocabulary getVocabulary()
           
 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AT_LEAST_ONE_CATEGORY

public static final int AT_LEAST_ONE_CATEGORY
See Also:
Constant Field Values

TOO_MANY_CATEGORIES

public static final int TOO_MANY_CATEGORIES
See Also:
Constant Field Values
Constructor Detail

AssetCategoryException

public AssetCategoryException(AssetVocabulary vocabulary,
                              int type)
Method Detail

getType

public int getType()

getVocabulary

public AssetVocabulary getVocabulary()

Liferay 6.2-ce-ga5