@enonic/mock-xp
Version:
Mock Enonic XP API JavaScript Library
16 lines (15 loc) • 660 B
TypeScript
import { RuntimeException } from '../exception/RuntimeException';
import { Branch } from '../Branch';
export declare const NODE_ALREADY_EXIST_AT_PATH_EXCEPTION_NAME = "com.enonic.xp.node.NodeAlreadyExistAtPathException";
export declare type NodePath = string;
export declare type RepositoryId = string;
export declare class NodeAlreadyExistAtPathException extends RuntimeException {
branch: Branch;
node: NodePath;
repositoryId: RepositoryId;
private static buildMessage;
constructor(nodePath: NodePath, repositoryId?: RepositoryId, branch?: Branch);
getBranch(): Branch;
getNode(): NodePath;
getRepositoryId(): RepositoryId;
}